This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1206
Commits
2
Branches
34MB
Tree:
e8dc33ad08
index-subcmd
update-syntect
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'e8dc33ad08'
${ noResults }
zola
/
test_site
/
content
/
posts
/
tutorials
/
devops
/
nix.md
nix.md
66B
Raw
Normal View
History
Sections Parse _index.md files as sections and render them
7 years ago
Remove `order` and add `heavier`/`later` This commit removes the option to sort by order and also removes `page.next` and `page.previous` variables. Instead, pages can be sorted by two methods `date` and `weight`. The Tera `reverse` filter will reverse either of those sorts, so the old `order` behavior can be achieved by using the `reverse` filter with `weight`. In place of the `previous`/`next` variables, this commit adds the `page.earlier`/`page.later` variables (which are set when the page is sorted by date) and the `page.heavier`/`page.lighter` variables (which are set when the page is sorted by weight). These variables have the advantage of not having confusing semantics when the `reverse` filter is used.
6 years ago
Use TOML dates in front-matter rather than strings Closes #210
6 years ago
Sections Parse _index.md files as sections and render them
7 years ago
1
2
3
4
5
6
7
+++
title = "Nix"
weight = 2
date = 2017-01-01
+++
A simple page