Philipp Oppermann
72373bea9b
Add path to `TranslatedContent` ( #863 )
* Add path to `TranslatedContent`
This makes it possible to retrieve the translated page through the `get_page` function.
* Use TranslatedContent::path field in test_site_i18n
Use it with the `get_page` function to get a reference to the page object.
5 years ago
photong
51d4b6bd6a
Simple clean up of documentation. ( #849 )
* Update installation.md
* Update cli-usage.md
* Update installation.md
* Update directory-structure.md
* Update configuration.md
* Update overview.md
* Update section.md
* Update page.md
* Update section.md
* Update configuration.md
* Update page.md
* Update section.md
* Update page.md
* Update shortcodes.md
* Update linking.md
* Update table-of-contents.md
* Update syntax-highlighting.md
* Update taxonomies.md
* Update search.md
* Update sass.md
* Update index.md
* Update multilingual.md
* Update overview.md
* Update pages-sections.md
* Update pagination.md
* Update taxonomies.md
* Update rss.md
* Update sitemap.md
* Update robots.md
* Update 404.md
* Update archive.md
* Update overview.md
* Update installing-and-using-themes.md
* Update creating-a-theme.md
* Update netlify.md
* Update github-pages.md
* Update gitlab-pages.md
* Update index.md
* Update page.md
* Update section.md
* Updates.
5 years ago
Geobert Quach
3f166285de
Paginator total pages ( #829 )
* feat(pagination): Add `total_pages` in paginator object
* feat(pagination): Added doc for `total_pages`
* feat(pagination): Added test for `total_pages`
5 years ago
Bob
4aa2ba84fc
Let toc is visable through Page & Section variables in templates ( #818 )
* Let toc is visable through Page & Section variables in templates
* Removed the current toc variable from page & section
5 years ago
Einar
e194294664
Pages -> Page ( #903 )
4 years ago
Eduardo Pinho
1bafec4309
Update links to Tera documentation ( #873 )
- "/templates" section is gone upstream
5 years ago
Vincent Prouillet
b16d525134
Mention feed_url in docs
5 years ago
Vincent Prouillet
6a7e955ab0
Add lang to get_taxonomy & get_taxonomy_url
5 years ago
Vincent Prouillet
fd19469e40
Clarify a bit the pager term
Closes #775
5 years ago
Vincent Prouillet
7f459940e1
Allow multiple taxonomies with same name in different language
Closes #766
5 years ago
Vincent Prouillet
0e4e0c35b3
Remove all draft specific code
5 years ago
Avery Larsen
1cc0295637
Fix internal links ( #743 )
It looks like two links on this page didn't get updated with the change from `./` to `@/` in ec61a57
.
5 years ago
Stuart Small
12d2576fba
Fix for #632 - add ability to get asset image dimensions ( #670 )
5 years ago
Vincent Prouillet
ec61a57841
Use @/ for internal links rather than ./
Close #686
5 years ago
Björn Lindström
8491110c4b
Elaboration and imrovement in docs on paging ( #692 )
Added and clarified a few things that would probably have saved me from
raising getzola/zola#691 .
5 years ago
Vincent Prouillet
290029aeed
Fix a bit the pagination template doc
5 years ago
Vincent Prouillet
b29596c3cc
Mention the 404 page does not get current_path/current_url
Close #586
5 years ago
Vincent Prouillet
50caf1c90c
Fix typo in docs
Closes #636
5 years ago
Vincent Prouillet
2a8d0de532
Pass extra for page in sitemap entries
5 years ago
Vincent Prouillet
c63b7fde44
load_data now defaults to plain type + fix bug with get_taxonomy fn
5 years ago
Vincent Prouillet
7baf08cef2
Update docs for sitemap
5 years ago
Vincent Prouillet
67ddabfa8b
Fix doc mentioning non-existent fields on sections
5 years ago
Jordan Shurmer
bf1fd1a086
Fix minor documentation quirks in templates/overview
5 years ago
Vincent Prouillet
705a30aa8d
Move toc to be a rendering page/section variable level
5 years ago
Peng Guanwen
07843c116f
Fix format mistake
5 years ago
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
5 years ago
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
5 years ago
Vincent Prouillet
19075191ff
Add translations to page/sections
5 years ago
Vincent Prouillet
779511ae43
Pass down lang and start docs
5 years ago
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
Closes #533
6 years ago
Jake Howard
fef522bb29
Add links to tera documentation for filters and functions
Fixes https://github.com/Keats/gutenberg/issues/510 . Well, should help with it.
6 years ago
Jake Howard
aad12d829f
Remote data ( #494 )
6 years ago
Vincent Prouillet
0101e5cb12
Update docs to refer to zola
6 years ago
Vincent Prouillet
83b04a561c
Expose relative path of pages & sections
Closes #485
6 years ago
Luke Frisken
1baa7750f3
CSV and TOML loading global functions ( #379 )
Local CSV/TOML/JSON loading Tera function
6 years ago
Vincent Prouillet
86c418372f
Add metadata_only to get_section
6 years ago
Vincent Prouillet
957c6bed9d
Have a list of ancestors instead of only parent section
6 years ago
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
Close #446
Close #260
Close #478
Close #284
Close #480
6 years ago
Greizgh
fec58054b4
Inject config in robots.txt context
This allow to use base_url in robots.txt, to reference a sitemap for
example.
6 years ago
Vincent Prouillet
e1aaed3c04
Remove paginator.pagers
6 years ago
Vincent Prouillet
f66a9425d2
Mention a paginated section doesnt get its pages
6 years ago
Vincent Prouillet
98ed34ec49
Removed outdated bit in rss docs
6 years ago
Joe Clay
005e1f00b6
Update page variable list for custom taxonomies
I love the new support for custom taxonomies! I got a little thrown off when updating my site, though, as the docs didn't specify how the page would expose the taxonomies to the template. Wasn't too hard to figure it out, but I figured I'd save the next person who tries it the effort :)
6 years ago
cmal
ec65d01a72
Add assets to Sections variables
6 years ago
Vincent Prouillet
84a3193e97
Last fixes
6 years ago
Vincent Prouillet
efddb24b95
We actually need get_taxonomy_url. Also update docs
6 years ago
Daniel Sockwell
554d50720c
Update templates/pages-sections.md
6 years ago
Vincent Prouillet
e83d76bf8a
Clarify taxonomies templates doc
6 years ago
Vincent Prouillet
f37b19db6a
Add archive docs
Fix #307
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago