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

Smaller output changes #497

Merged
merged 3 commits into from
Dec 2, 2018
Merged

Smaller output changes #497

merged 3 commits into from
Dec 2, 2018

Conversation

encukou
Copy link
Member

@encukou encukou commented Nov 29, 2018

I'm refactoring the model with the same output as before. So, if I need to make any any changes to the output, I'll make them here as well.
Here's the first batch.

Use material title, not the (generic) page title, in prev/next links

For example, the back link in 2018/czechitas-ostrava-jaro/beginners/functions/ is labeled “Nebo anebo a”, but the lesson list shows “*Nebo* anebo *a* (bonus)“.
Use the title in the lesson list.

Move page-specific blocks (attribution, license) to the page template

The logic for these block is quite complicated. This commit makes them a little more sane. Changes should be whitespace-only.

Add environment variable for creating reproducible iCal timestamps

iCal DTSTAMP entries change with every deploy; this adds a possibility to make them stable.

@encukou encukou merged commit 3436e81 into pyvec:master Dec 2, 2018
@encukou encukou deleted the tw branch December 2, 2018 09:39
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

Successfully merging this pull request may close these issues.

2 participants