Code Monkey home page Code Monkey logo

minimo's Introduction

GitHub release GitHub Release Date license

Minimo – Minimalist theme for Hugo

Minimo

Minimalist theme for Hugo.

Documentation

Check the Minimo Documentation for detailed documentation of Minimo.

Getting Up & Running

Follow these guides for getting your site up & running with Minimo:

Updating Minimo

Follow the Updating Guide to update Minimo to its latest version.

After updating Minimo, always check that your site's config.toml file matches the latest config.toml file format.

A good idea is to double check all the Configuration settings of Minimo.

Development

If you find a bug or want to request a new feature, feel free to open an issue.

Changelog

Changelog for Minimo

License

Minimo is licensed under the MIT License. Check the LICENSE file for details.

The following resources are included/used in the theme:

minimo's People

Contributors

afranke avatar alexkokkinos avatar ammo0110 avatar brianclemens avatar dannyloxavier avatar dansvel avatar darccio avatar davidvidmar avatar dmitrytrusov avatar druxstr avatar fdalvi avatar hombresiniestro avatar hurutoriya avatar iromeister avatar jdittrich avatar matrixik avatar muniftanjim avatar nagyv avatar nueh avatar quenty-tolosan avatar rdebeasi avatar ribice avatar samycoenen avatar schnouki avatar severo avatar tabarnhack avatar taziyah007 avatar thorgrimson avatar troyane avatar volkanto 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minimo's Issues

Social links not visible

Added following parameters to config.toml, but social links are not visible on this page.

hideSocialMenu = false

[author.social]
github = "ribice"

Is there anything else I need to add?

Setting defaultContentLanguage doesn't work

I write my blog in Slovenian and when I tried setting my default language to "sl" and have it defined in [languages] section, it doesn't work. It can easily be checked with "hugo check" and that will always show "en".

Problem sits in example site's .toml file, where defaultContentLanguage is near the end of the file.

According to the TOML spec, only maps/dictionaries can follow maps/dictionaries. You can confirm by doing a hugo config, but in your case you get the default, which is en.

As seen here: https://discourse.gohugo.io/t/solved-defaultcontentlanguage-does-not-seem-to-work/4135/10

Disqus comments section appears on a page ("About")

Hello,

To my best understanding, by checking the archetype for page.md, as well as the comments.html file, the comments section should not appear on pages. Please, correct me if I'm wrong.

In any case, it does appear, even if it is just with the message "We were unable to load Disqus. If you are a moderator please see our troubleshooting guide." (http://www.thanosgatos.com/about/). That said, I would like to achieve two things:

  1. Not have the comments show on the "About" page
  2. Have the Disqus comments function properly

The repo is https://github.com/thanosgatos/thanosgatos.com.

Any help would be more than welcome.

Netlify Deployment Error

I got this error when I tried to deploy to Netlify. Some other users who had the same issue are suggesting that I remove the reference to theme "Submodule." How do I solve that?

Netlify Error

Your rendered home page is blank: /index.html is zero-length
* Did you specify a theme on the command-line or in your
"config.toml" file? (Current theme: "minimo")
* For more debugging information, run "hugo -v"

Hugo -v log below

PS C:\site> hugo -vINFO 2017/06/30 11:17:20 Using config file:
INFO 2017/06/30 11:17:20 using a UnionFS for static directory comprised of:
INFO 2017/06/30 11:17:20 Base: C:\site\themes\minimo\static
INFO 2017/06/30 11:17:20 Overlay: C:\site\static\
INFO 2017/06/30 11:17:20 syncing static files to C:\site\public\

Started building sites ...
INFO 2017/06/30 11:17:20 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
WARN 2017/06/30 11:17:20 [en] Unable to locate layout for "taxonomyTerm": [taxonomy/category.terms.html.html taxonomy/category.terms.html _default/terms.html.html _default/terms.html indexes/indexes.html.ht
ml indexes/indexes.html theme/taxonomy/category.terms.html.html theme/taxonomy/category.terms.html theme/_default/terms.html.html theme/_default/terms.html theme/indexes/indexes.html.html theme/indexes/inde
xes.html]
INFO 2017/06/30 11:17:20 Alias "\business\page\1\index.html" translated to "business\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\tags\outdoor\page\1\index.html" translated to "tags\outdoor\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\tags\griyo\page\1\index.html" translated to "tags\griyo\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\tags\legume\page\1\index.html" translated to "tags\legume\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\tags\plaintain\page\1\index.html" translated to "tags\plaintain\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\post\page\1\index.html" translated to "post\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\categories\restaurants\page\1\index.html" translated to "categories\restaurants\page\1\index.html"
WARN 2017/06/30 11:17:20 [en] Unable to locate layout for "taxonomyTerm": [taxonomy/tag.terms.html.html taxonomy/tag.terms.html _default/terms.html.html _default/terms.html indexes/indexes.html.html indexes
/indexes.html theme/taxonomy/tag.terms.html.html theme/taxonomy/tag.terms.html theme/_default/terms.html.html theme/_default/terms.html theme/indexes/indexes.html.html theme/indexes/indexes.html]
INFO 2017/06/30 11:17:20 Alias "\tags\tassot\page\1\index.html" translated to "tags\tassot\page\1\index.html"
INFO 2017/06/30 11:17:20 Alias "\tags\soup\page\1\index.html" translated to "tags\soup\page\1\index.html"
Built site for language en:
0 draft content
0 future content
0 expired content
4 regular pages created
24 other pages created
0 non-page files copied
9 paginator pages created
1 categories created
6 tags created
total in 49 ms

Author's name ends up in <title>

I've set up authors and now the author's name appears in my blog posts <title>.

Expected :

<title> Blog post title • Website name </title>

Happening :

<title> Blog post title • Author's name </title>

My /data/authors/myauthor.toml is empty except for 2 fields :

id = "authorid"

[name]
display = "Author's name"

The value of display ends up in the title (and in the search engine results).

I'm using Hugo 0.31.1 and an the latest Minimo.

Also, thank you for making Minimo :)

Adding icons in another theme

Hi,

I'm using another Hugo theme that uses FA. I'd like to switch to Feather icons, as you implemented them.

Except for adding icons.html and {{ partial "svg/icons" "next" }}, what else needs to be done to show the icons?

Thnak you!

Link from single entry to blog entry/page

I hope you don't mind the, now four, issues I have entered. I am excited about minimo!

Would it be possible to link the date on a single entry, to its location on the blog list? For example, if you go to this post, https://collantes.us/2015/08/29/jekyll-and-git/, and click on the date, it will take you to its place on the archive list (archive list is equivalent to minimo's multipaged blog).

I was able to do it, but it breaks on the multipage approach.

Stop a page from show on "recent posts"

My content directory has page directory (with an about.md inside, for example), blog directory (with the blog entries) and error directory (it has an error404.md page). That last one is showing under "Recent Posts." What can be done to stop that from happening?

Recent Posts

Where is the configuration to change that string (Recent Posts) to something else? I also noticed that they are only five entries showing, is there a configuration somewhere to set a different amount of entries to show?

Thanks much!

Feature request: Add custom css?

Add a custom css param perhaps? I would like to be able to change my fonts, scss is kinda hard to work around with, i only have knowledge with normal css 💃

Page with entire blog archive

Hello,

Would you be interested in adding page that will contain entire blog archive?
I found this example: https://parsiya.net/blog/2016-02-14-archive-page-in-hugo/
And it's output looks like: https://parsiya.net/archive/
Other and simpler example could be: http://cheeaun.com/blog/archives/

I started to look into it because looks like gohugoio/hugo#448 won't be implemented any time soon.
But I have no experience with CSS nor JS so not sure how to properly position and skin it so it's looks like rest of the site.

Language Support for your Theme

First of all, thx for this theme.

I love minimalistic websites, is it possible to support other languages?
I use your theme on my private site and I write post in German, so it would be cool to translate, for example, the Headline "Recent Posts".

Not generating index.xml and index.html in /public

I am using this theme via blogdown package in R. After the last update, the theme seems failing to generate an index file when serving the site. Other themes don't have this issue.

I don't know much about web development, and not sure what other details should I provide... Please let me know.

Feature request: tweet a post

Hi, very nice theme.
I was wondering if it possible to have way in order to directly tweet/facebook a post?

Thanks!

How to use custom CSS

Hi there! Thanks for the theme, it is simple, clean, and fast. I love it!

I would like to change:

  • Fonts
  • Links (show underline, colours, etc)

What would be the best way to do so?

Bold hyperlink for Blog

Hi,

First of all, thanks for this wonderful theme!

I'm just a bit stuck, you can see on my instance of the theme at http://www.alewand.com/blog/
the 'blog' text doesn't become bold.

I defined it in config.toml:

[[menu.main]]
    name = "blog"
    weight = -10
    identifier = "blog"
    url = "/blog"

Cheers
Chris

Breaking Changes when updating to `2384eb8` with customizations

Versions

Working Version: f9d5e62
Broken Version: 2384eb8

Issue

Hugo v.0.24.1, linux/amd64

I customized minimo theme by following the method described here (https://gohugo.io/themes/customizing/) and modified the following files by overriding:

  • ./data/social.toml
  • ./layouts/index.html
  • ./layouts/partial/disqus.html
  • ./layouts/partial/nav/entry_nav.html
  • ./layouts/partial/nav/main.html (added a 'Home' link)
  • ./layouts/partial/nav/social.html (modified so I can link to slack -- [slack].slack.com vs facebook.com/[slack ]
  • ./layouts/partial/svg/icons.html (added a slack icon)
  • ./layouts/css/main.cc66fabc.css (increase the size of the social icons to 3EM)
  • ./layouts/favicon.ico
  • ./layouts/facicon.png

After updating to the most current version, when I try to rebuild (and without changing the customizations), I get the following error when running hugo:

Started building sites ...
panic: reflect: Zero(nil) [recovered]
	panic: reflect: Zero(nil) [recovered]
	panic: reflect: Zero(nil)

goroutine 119 [running]:
text/template.errRecover(0xc42025f830)
	/usr/local/go/src/text/template/exec.go:146 +0x62
panic(0xacae60, 0xc4202a11a0)
	/usr/local/go/src/runtime/panic.go:489 +0x2cf
text/template.errRecover(0xc42025eb38)
	/usr/local/go/src/text/template/exec.go:146 +0x62
panic(0xacae60, 0xc4202a11a0)
	/usr/local/go/src/runtime/panic.go:489 +0x2cf
reflect.Zero(0x0, 0x0, 0x0, 0xaedfe0, 0xc42031f608)
	/usr/local/go/src/reflect/value.go:2122 +0x134
text/template.(*state).validateType(0xc42025eab8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf316a0)
	/usr/local/go/src/text/template/exec.go:697 +0x700
text/template.(*state).evalArg(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0x0, 0x0, 0xf2c580, 0xc42028bbd0, 0x8, 0x5dc1acbc9fb65f57, ...)
	/usr/local/go/src/text/template/exec.go:746 +0x870
text/template.(*state).evalChainNode(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202f4a00, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/text/template/exec.go:502 +0xf2
text/template.(*state).evalArg(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xf316a0, 0xaedfe0, 0xf2c220, 0xc4202f4a00, 0x2, 0xc4202a1058, ...)
	/usr/local/go/src/text/template/exec.go:750 +0x93a
text/template.(*state).evalCall(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xaea6e0, 0xbef4b8, 0x13, 0xf2c280, 0xc4202f6db0, 0xc42026392e, ...)
	/usr/local/go/src/text/template/exec.go:643 +0x279
text/template.(*state).evalFunction(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202f6de0, 0xf2c280, 0xc4202f6db0, 0xc4202a90a0, 0x2, 0x2, ...)
	/usr/local/go/src/text/template/exec.go:536 +0x18e
text/template.(*state).evalCommand(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202f6db0, 0x0, 0x0, 0x0, 0xaedfe0, 0xc4201e74e0, ...)
	/usr/local/go/src/text/template/exec.go:433 +0x6cd
text/template.(*state).evalPipeline(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xc42028bb80, 0xac5b60, 0xc4202a1068, 0x8e)
	/usr/local/go/src/text/template/exec.go:406 +0xf2
text/template.(*state).walk(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xf2c100, 0xc4202f6f00)
	/usr/local/go/src/text/template/exec.go:232 +0x55a
text/template.(*state).walk(0xc42025eab8, 0xbb1460, 0xc4202b0600, 0x16, 0xf2c460, 0xc4202f6a50)
	/usr/local/go/src/text/template/exec.go:240 +0x139
text/template.(*Template).execute(0xc4202f4880, 0xf21e20, 0xc420018700, 0xbb1460, 0xc4202b0600, 0x0, 0x0)
	/usr/local/go/src/text/template/exec.go:195 +0x20a
text/template.(*Template).Execute(0xc4202f4880, 0xf21e20, 0xc420018700, 0xbb1460, 0xc4202b0600, 0xc42025eba0, 0xc4202cfe40)
	/usr/local/go/src/text/template/exec.go:178 +0x53
html/template.(*Template).Execute(0xc4202f69f0, 0xf21e20, 0xc420018700, 0xbb1460, 0xc4202b0600, 0xc420483590, 0x25)
	/usr/local/go/src/html/template/template.go:120 +0x8c
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc4202347b0, 0xc4202ba192, 0x11, 0xc4202a0ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
	/Users/bep/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:73 +0x3fa
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc4202ba192, 0x11, 0xc4202a0ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
	/Users/bep/go/src/github.com/gohugoio/hugo/tpl/partials/init.go:32 +0x63
reflect.Value.call(0xaf82c0, 0xc420236fd0, 0x13, 0xbb4d41, 0x4, 0xc420483530, 0x2, 0x2, 0xf316a0, 0xb079c0, ...)
	/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0xaf82c0, 0xc420236fd0, 0x13, 0xc420483530, 0x2, 0x2, 0xf2c2e0, 0xc4202bdb40, 0xbb1460)
	/usr/local/go/src/reflect/value.go:302 +0xa4
text/template.(*state).evalCall(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xaf82c0, 0xc420236fd0, 0x13, 0xf2c280, 0xc4202d37d0, 0xc4202ba189, ...)
	/usr/local/go/src/text/template/exec.go:668 +0x51f
text/template.(*state).evalFunction(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202d3800, 0xf2c280, 0xc4202d37d0, 0xc4202cf3c0, 0x3, 0x4, ...)
	/usr/local/go/src/text/template/exec.go:536 +0x18e
text/template.(*state).evalCommand(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202d37d0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/text/template/exec.go:433 +0x6cd
text/template.(*state).evalPipeline(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xc4202b9f40, 0x0, 0x0, 0x98)
	/usr/local/go/src/text/template/exec.go:406 +0xf2
text/template.(*state).walk(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xf2c100, 0xc4202d3830)
	/usr/local/go/src/text/template/exec.go:232 +0x55a
text/template.(*state).walk(0xc42025f7b0, 0xbb1460, 0xc4202b0600, 0x16, 0xf2c460, 0xc4202d3620)
	/usr/local/go/src/text/template/exec.go:240 +0x139
text/template.(*Template).execute(0xc4202cf280, 0xf21e20, 0xc4200a5ce0, 0xbb1460, 0xc4202b0600, 0x0, 0x0)
	/usr/local/go/src/text/template/exec.go:195 +0x20a
text/template.(*Template).Execute(0xc4202cf280, 0xf21e20, 0xc4200a5ce0, 0xbb1460, 0xc4202b0600, 0xc420234030, 0xc00)
	/usr/local/go/src/text/template/exec.go:178 +0x53
html/template.(*Template).Execute(0xc4202d35c0, 0xf21e20, 0xc4200a5ce0, 0xbb1460, 0xc4202b0600, 0x9, 0xc420438490)
	/usr/local/go/src/html/template/template.go:120 +0x8c
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc420173930, 0xf21e20, 0xc4200a5ce0, 0xbb1460, 0xc4202b0600, 0xc420173930, 0x2)
	<autogenerated>:3 +0x75
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc4200e0500, 0xbc12f4, 0xc, 0xbb1460, 0xc4202b0600, 0xf21e20, 0xc4200a5ce0, 0xc420438400, 0xc, 0x10, ...)
	/Users/bep/go/src/github.com/gohugoio/hugo/hugolib/site.go:1975 +0xb8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc4200e0500, 0xbb7248, 0x5, 0xc4201afee0, 0x16, 0xc4202b0600, 0xc420438400, 0xc, 0x10, 0x0, ...)
	/Users/bep/go/src/github.com/gohugoio/hugo/hugolib/site.go:1915 +0xff
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc4200e0500, 0xc4203191a0, 0xc420318fc0, 0xc4204991b0)
	/Users/bep/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:122 +0x7de
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
	/Users/bep/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:44 +0x156

Unfortunately, the site I'm working on is in a private repo, so can't give a reproducible example. Just wanted to bring this up to see if there's some best practice so that I can avoid this in the future. For now, I'll just checkout the older version.

Thanks!

Social icons not showing

I'm not on the newest version and I see some changes have been made there. When I pull the newest version it works. However, there is a lot of other things changed that I don't necessarily want to be included with that. What specifically do I need to do to get the social icons working here?

I tried retracing my steps through the commits and couldn't get it working. Here's my code - https://github.com/leerob/Portfolio/tree/master/themes/minimo

Unproper capitalization for two words tags

Tags listed at the bottom of blog posts are automatically capitalized,

but capitalization fails with two words tags. For instance :

tags = ["bat", "cat", "guinea pig"]

Should display

Bat, Cat, Guinea pig

But instead displays

Bat, Cat, guinea pig

I'm using Hugo 0.31.1 and an the latest Minimo.

When changing taxonomy name icon disappear

When changing taxonomy name its icon disappear in post

[taxonomies]
author = "autorzy"
category = "ketegorie"
tag = "tags"

In post front matter:

+++
categories = [
  "Bez kategorii"
]
tags = ["otagować"]
+++

Test post: https://www.dobek.pro/2017/10/test/ (no icon near Bez kategorii)
I think issue could be here:
https://github.com/MunifTanjim/minimo/blob/master/layouts/partials/svg/icons.html#L2-L6

BTW. I still see English word "Category" on https://www.dobek.pro/ketegorie/ but did not have time to investigate.

Changing authors link

One last thing and I'm going to sleep.

Could you tell me if it's possible to change authors URL link? Like it's possible with categories and tags.

I tried to change from /authors/ to /autorzy
Test link: https://www.dobek.pro/2017/10/test/
My config: https://github.com/matrixik/dobek.pro/blob/master/config-minimo.toml
Test post source: https://github.com/matrixik/dobek.pro/blob/master/content/blog/test.md

I tried to change everything but looks like only authors add author near publish date but does not create https://www.dobek.pro/authors/matrixik page.

404 page not rendered via `hugo serve`

Hi,

I am testing the theme, let me tell you it's really beautiful but the 404 page is not working for me when running hugo serve --config minimo.toml.
I am leaving the default gopher image usage, so in the conf I have

[params.assets]
favicon = "favicon.ico"
gopher = "" # used in 404 template ( Generator: https://gopherize.me )

Any ideas?
Thank you

Add email slot

How do I add email slots, is there svg icon for the same?

Add Keybase.io to Social menu

Hi, thanks a lot for sharing your work on Minimo, it's great!

Would you consider adding Keybase.io profiles to the Social Menu? I'd very much like to suggest it to my visitors as the go-to place for anything social-related :-)

Contents table generator bug?

Does minimo support an contents table generator?

If I set a toc = true in the Front Matter, hugo will generator an contents table for me, But the style generated I didn't like so much.

And I found, forgot the toc option, If I add a six # and any character in my content, minimo will generator a minimo style contents table for me, Is this a bug?

toc=true and Table of Contents (by hugo)

screen shot 2017-12-05 at 11 10 37 am

screen shot 2017-12-05 at 11 10 29 am

six # and minimo style

screen shot 2017-12-05 at 11 11 22 am

screen shot 2017-12-05 at 11 11 36 am

I'm using the newest hugo master and so does minimo.

"Page" shows up in recent_posts

Pages that are directly under content directory do not have a section so they show up in recent posts.

( where .Data.Pages "Section" "ne" "page" )

This should be checking for Type instead of Section. Those pages under content directory are "page" Type and by making this change pages will not show up in recent posts.

This will be more flexible as Section can't be overridden in frontmatter whereas Type can be.

This change should also be backward compatible as all md files under "content/page" directory are Type and Section page.

Categories and Tags

Is it possible to add a blur (description), and extra text on the Categories, and Tags pages? For example, on https://collantes.us/blog/ I was able to add a blur, and some text before the entries are rendered. Same for https://collantes.us/.

Is it possible to do that on categories and tags? As their directories are created on build, I can't go before hand and add an _index.md file, right?

range can't iterate over css/custom.css

Hey,

I just pushed my repo for my site to github.com and then re-named it on the GitHub site through the repo settings, re-cloned locally (with the recursive option, renamed from "tomatopeel" to "blog"). Now when I run hugo server now I'm getting:

$ hugo server
Started building sites ...
ERROR 2017/06/26 00:35:20 Error while rendering "page": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:4:3: executing "theme/partials/header.html" at <partial "head/head.h...>: error calling partial: template: theme/partials/head/head.html:7:5: executing "theme/partials/head/head.html" at <partial "head/includ...>: error calling partial: template: theme/partials/head/includes.html:4:14: executing "theme/partials/head/includes.html" at <.Site.Params.customc...>: range can't iterate over css/custom.css
ERROR 2017/06/26 00:35:20 Error while rendering "taxonomy": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:4:3: executing "theme/partials/header.html" at <partial "head/head.h...>: error calling partial: template: theme/partials/head/head.html:7:5: executing "theme/partials/head/head.html" at <partial "head/includ...>: error calling partial: template: theme/partials/head/includes.html:4:14: executing "theme/partials/head/includes.html" at <.Site.Params.customc...>: range can't iterate over css/custom.css
ERROR 2017/06/26 00:35:20 Error while rendering "section": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:4:3: executing "theme/partials/header.html" at <partial "head/head.h...>: error calling partial: template: theme/partials/head/head.html:7:5: executing "theme/partials/head/head.html" at <partial "head/includ...>: error calling partial: template: theme/partials/head/includes.html:4:14: executing "theme/partials/head/includes.html" at <.Site.Params.customc...>: range can't iterate over css/custom.css
ERROR 2017/06/26 00:35:20 Error while rendering "home": template: theme/index.html:1:3: executing "theme/index.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:4:3: executing "theme/partials/header.html" at <partial "head/head.h...>: error calling partial: template: theme/partials/head/head.html:7:5: executing "theme/partials/head/head.html" at <partial "head/includ...>: error calling partial: template: theme/partials/head/includes.html:4:14: executing "theme/partials/head/includes.html" at <.Site.Params.customc...>: range can't iterate over css/custom.css

hugo server works as expected in my old local repo which hasn't been re-named. I've tried with both of the most recent commits of the theme with the new re-named project, since there was one more commit since I last pulled it, so the original un-re-named project has bfd5d2ce6b41443c8c7effd4cc439857a5f3277b. I'm getting the same error though.

Edit: Hmmm actually I can't find bfd5d2ce6b41443c8c7effd4cc439857a5f3277b in the git log in the new project that's been cloned from remote most recently. Here are the relevant entries from the commit logs for both repos:

Old, original, working one:

commit bfd5d2ce6b41443c8c7effd4cc439857a5f3277b (HEAD -> master, origin/master, origin/HEAD)
Author: MunifTanjim <[email protected]>
Date:   Sat Jun 24 02:37:09 2017 +0600

    add support for custom css

New, broken:

commit 6ad3268a17596ff54a33eb312d28516ae582d0a7
Author: MunifTanjim <[email protected]>
Date:   Sat Jun 24 02:37:09 2017 +0600

    add support for custom css

Alphabetical Tag Cloud

Hello! I am setting up my first Hugo site using the Minimo theme and I am trying to get my tag cloud to display the tags in alphabetical order.

The relevant code (I believe) is range .Data.Terms.Alphabetical and is found in the theme’s term_cloud.html partial, but the terms are displayed in random order nonetheless. Trying ByCount as a test also has no effect. I notice the example site's tag cloud is also in random order.

Any idea what I need to change in this theme’s template to generate the tags in alphabetical order? Thanks for any help!

Bug: Footnote link is not right

Hugo has built-in Footnote support,
image

minimo can generate footnote, too. But its link is broken. For example, add one to post post/test_footnote/ :

test[^cfg]

hugo server -w would generate a footnote link as localhost:1313/#fn:cfg instead of the correct one localhost:1313/post/test_footnote/#fn:cfg

Date and title needed by default.md in archetypes

Hi, I'm using Hugo v0.25.1 now, and when I would like to input

hugo new blog/abc.md

to create a new markdown file, it prompted that

WARNING: date and/or title missing from archetype file "/home/user/blog/themes/hucore/archetypes/default.md".
From Hugo 0.24 this must be provided in the archetype file itself, if needed. Example:
--
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
--

And I've looked into default.md, finding that it does lack those information.

en.toml file not recognised

When running the run.exe I am receiving an error -
Failed to load translation in file "en.toml": unsupported file extension .toml

Any ideas why?

RSS template

Since I couldn't find the RSS template, I am assuming the theme is using Hugo's default, correct? It seems to be including the blog, and everything else (all pages) for me. No good.

Site search

I found nice and simple hack for searching site:
https://blog.philipphauer.de/moving-wordpress-hugo/#search

Many Hugo users employ Google Custom Search. But it contains ads (in the free edition). That’s why I’m using a simple HTML form and redirect to Google Search but restrict the search to my site.

<form role="search" method="get" action="https://www.google.com/search">
  <input type="search" placeholder="Search..." value="" name="q" title="Search for:">
  <input type="hidden" name="sitesearch" value="blog.philipphauer.de">
  <button type="submit" value="Search"/>
</form>

Enhance/Fix Polish translation

Turns out, go-i18n supports one, few, many & other keys in translation files like this:

[stringID]
one = ""
few = ""
many = ""
other = ""

Reference: gohugoio/hugo#3947

We will have to change the translation strings with the key one to also include they keys few & many in /i18n/pl.toml

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.