Giter Club home page Giter Club logo

hugo-type-theme's People

Contributors

andy4thehuynh avatar andygrunwald avatar caarlos0 avatar d2s avatar digitalcraftsman avatar jonatan-ivanov avatar keyphact avatar kgoralski avatar lou1306 avatar ninpl avatar paskal avatar tommorris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hugo-type-theme's Issues

Header does not work

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

Add new icons

[Feature] Add Gitlab, ArtStation, DeviantArt, Livecoding ...

Links in posts are not differentiable

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

x-frame options

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>.

tags

Hi! Thanks for this great theme! I've not found how to add visible tag to post. How can I add tags?

disqus doesn't show up

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!

Removing Disqus from About/index.md page

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.

Errors on site without expected parameters set

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.

headerImage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.