tmaiaroto / hugo-redlounge

A Hugo theme
Other
100 stars 65 forks source link

Multilingual mode/hugo 0.18 support #39

Open jpalczewski opened 7 years ago

jpalczewski commented 7 years ago

Hi,

I want to leave a few tips how to change layout in order to work with brand-new feature mentioned in title:

  1. Line 39, layouts/_default/list.html: <a class="post-category post-category-{{ . | urlize }}" href="{{ $Site.BaseURL }}{{ $Site.LanguagePrefix }}/categories/{{ . | urlize }}">{{ . }}</a>

  2. 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" }}

tmaiaroto commented 7 years ago

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.