digitalcraftsman / hugo-type-theme Goto Github PK
View Code? Open in Web Editor NEWPort of Rohan Chandra's Type theme to Hugo.
License: MIT License
Port of Rohan Chandra's Type theme to Hugo.
License: MIT License
When you generate the site, even if you configure config.toml, it does not create the following lines:
<div class="call-out" style="background-image: url('https://domain//img/bg.png')">
textHeader
</div>
You need to manually enter it into index.html
It would be good to have https://speakerdeck.com/[PROFILE] as a social icon as well.
Sadly Speakerdeck is (not yet) part of font-aweseome.
But those tickets are already open:
Hey there.
One suggestion: Change {{ .Description | markdownify }}
to
{{ .Summary }}
in hugo-type-theme/layouts/partials/post-list.html as that is the variable Hugo stores excerpts in.
That's why excerpts don't show above the "read more" links in post list.
[Feature] Add Gitlab, ArtStation, DeviantArt, Livecoding ...
Maybe use different text color for anchored texts, or underline it or whatever feels appropriate to make it differentiable and so user understands that given text is a link
Hello!
I expected a list of tags at baseurl/tags but it just displays the posts.
e.g. https://themes.gohugo.io//theme/type/tags
I expected a list of posts tagged with 'jekyll' at baseurl/tags/jekyll but it displays all the posts instead.
e.g. https://themes.gohugo.io//theme/type/tags/jekyll
I would like to be able to have a homepage button along with configured social icon.
Within the icons.html template, the googleplus variable is incorrectly referenced as google_plus.
I think it's a simple change to correct this to googleplus.
when running this template I see the following error:
X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside <meta>.
See gohugoio/hugo/issues/1910. Once implemented and part of the next release Hugo, update the theme accordingly.
Hi! Thanks for this great theme! I've not found how to add visible tag to post. How can I add tags?
Hey there,
First, i love your theme and i'm using it for bcneng.net, so a big thank you.
Second, I've just added the disqus config var disqusShortname = "my-short-code"
in my config.toml
but the disqus widget is not showing app in the post pages. Also i've looked for disqusShortname
in the templates but haven't find anything interesting.
Any hints? Thanks!
Hi,
Is there any way to remove disqus from the about/index.md page? It feels out of place for an about page to have commenting system.
Also, is it a known occurrence that about/index.md won't preview properly while in a local environment? As in my local environment, I can't preview my about page but once loaded online, it previews just fine.
Hello!
$subj, when trying to run this theme against my blog source I get following:
Building sites … ERROR 2018/03/20 18:19:04 Error while rendering "page" in "": template: /srv/hugo/themes/type/layouts/_default/single.html:9:4: executing "/srv/hugo/themes/type/layouts/_default/single.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:04 Error while rendering "page" in "post/": template: /srv/hugo/themes/type/layouts/_default/single.html:9:4: executing "/srv/hugo/themes/type/layouts/_default/single.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:04 Error while rendering "page" in "": template: /srv/hugo/themes/type/layouts/_default/single.html:11:6: executing "main" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:04 Error while rendering "page" in "post/": template: /srv/hugo/themes/type/layouts/_default/single.html:11:6: executing "main" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:04 Error while rendering "taxonomy" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:9:4: executing "/srv/hugo/themes/type/layouts/_default/list.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:04 Error while rendering "taxonomy" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:2:4: executing "main" at <partial "post-list.h...>: error calling partial: template: theme/partials/post-list.html:11:6: executing "theme/partials/post-list.html" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:04 Error while rendering "section" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:9:4: executing "/srv/hugo/themes/type/layouts/_default/list.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:04 Error while rendering "section" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:2:4: executing "main" at <partial "post-list.h...>: error calling partial: template: theme/partials/post-list.html:11:6: executing "theme/partials/post-list.html" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:04 Error while rendering "home" in "": template: theme/index.html:17:7: executing "theme/index.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:04 Error while rendering "home" in "": template: theme/index.html:14:7: executing "theme/index.html" at <partial "post-list.h...>: error calling partial: template: theme/partials/post-list.html:11:6: executing "theme/partials/post-list.html" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:05 Error while rendering "taxonomyTerm" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:9:4: executing "/srv/hugo/themes/type/layouts/_default/list.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
ERROR 2018/03/20 18:19:05 Error while rendering "taxonomyTerm" in "": template: /srv/hugo/themes/type/layouts/_default/list.html:2:4: executing "main" at <partial "post-list.h...>: error calling partial: template: theme/partials/post-list.html:11:6: executing "theme/partials/post-list.html" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:5:17: executing "theme/partials/post-meta.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 18:19:05 Error while rendering "404" in "": template: theme/404.html:14:6: executing "theme/404.html" at <partial "footer.html...>: error calling partial: template: theme/partials/footer.html:2:78: executing "theme/partials/footer.html" at <markdownify>: wrong number of args for markdownify: want 1 got 0
The reason is likely some absent .Site.
parameter but you can't tell it from error message, I guess input parameters handling could be improved. cboettig/hugo-now-ui#9 might be used as reference point.
Hello,
While enabling RSS using your Hugo theme I'm being directed to:
https://EXAMPLE.COMindex.xml/ instead of https://EXAMPLE.COM/index.xml/
I'm also noticing something similar with tags:
https://EXAMPLE.COMtags/TAG instead of https://EXAMPLE.COM/tags/TAG
Or am I just doing something wrong?
Regards,
Frankie Sanzica
Beautiful theme - thanks for sharing.
I can't figure out how to add a headerImage (sorry - Hugo newbie here).
Using one of the images included for testing which I copied to static/img:
# To add a header background to the main site, save your image under static/img/.
# If no image path is provided, a orange background will be shown instead.
headerImage = "static/img/sample_feature_img.png"
I've tried various combinations of paths, but I can't get it to display a custom image.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.