hugo-redlounge icon indicating copy to clipboard operation
hugo-redlounge copied to clipboard

Multilingual mode/hugo 0.18 support

Open jpalczewski opened this issue 8 years ago • 1 comments

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

jpalczewski avatar Jan 30 '17 20:01 jpalczewski

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.

tmaiaroto avatar Feb 23 '17 22:02 tmaiaroto