Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories on text #38

Open
rodajc opened this issue Jun 28, 2024 · 0 comments
Open

Categories on text #38

rodajc opened this issue Jun 28, 2024 · 0 comments

Comments

@rodajc
Copy link

rodajc commented Jun 28, 2024

Thank you for this nice theme. Good job!

You'll be glad to know that it is still being used for new blogs although you might find mine difficult to read: https://mint.eu.org/

I had to post process output/archives/index.html with sed to replace the space in the date field with a non-breaking space character to prevent the year from wrapping to the next line and to translate the months because adding

DATE_FORMATS = {
    'nl': ('nl_NL.utf8','%d %m %Y'),
}

to pelicanconf.py only changed the date format on the home page.

My question is where to translate the text "Categories on" in output/categories/index.html. It is not hard coded in the theme and I can't find where it is generated. A possible solution would be to post process this file with sed too if there is no more elegant solution.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant