You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I don't know if {{ range .Site.Pages }} in file mentioned above or index.html is desired in Hugo 0.18 - because every piece of content is now a Page, there a lot of strange posts on index page(f.e. all categories are shown as posts - http://themes.gohugo.io/theme/redlounge/ ).
The possible fix for it is: {{ range where .Data.Pages "Section" "posts" }}
The text was updated successfully, but these errors were encountered:
Thanks for this info. I would like to keep this theme up to date, but I'm limited on time and no longer use Hugo myself. If you'd like to submit pull requests, you're more than welcome to do so. Interested in maintaining the theme, even more welcome =)
I do want to take a look back into this all soon though. When is just the question.
Hi,
I want to leave a few tips how to change layout in order to work with brand-new feature mentioned in title:
Line 39,
layouts/_default/list.html
:<a class="post-category post-category-{{ . | urlize }}" href="{{ $Site.BaseURL }}{{ $Site.LanguagePrefix }}/categories/{{ . | urlize }}">{{ . }}</a>
And I don't know if
{{ range .Site.Pages }}
in file mentioned above or index.html is desired in Hugo 0.18 - because every piece of content is now a Page, there a lot of strange posts on index page(f.e. all categories are shown as posts - http://themes.gohugo.io/theme/redlounge/ ).The possible fix for it is:
{{ range where .Data.Pages "Section" "posts" }}
The text was updated successfully, but these errors were encountered: