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
Vincent Prouillet
73ea4b3b16
Finish path collision & fix paginate_path when empty
Closes #866
5 years ago
Vincent Prouillet
5532f62c2d
Check for paths collisions
Closes #366
5 years ago
Vincent Prouillet
6153d20047
Link to issues for regression tests
5 years ago
Philipp Oppermann
3362df4a48
Compute canonical path before adjusting parent path ( #856 )
* Compute canonical path before adjusting parent path
* Don't use adjusted `parent` to recalculate `canonical` in `find_language`
* Add regression tests
- Test for correct canonical field when calling `new_page`
- Test for correct canonical field after calling `find_language`
5 years ago
Vincent Prouillet
7a09e0f971
Update deps
5 years ago
Stan Rozenraukh
a89b30073c
Section extra -> SitemapEntry ( #850 )
5 years ago
Vincent Prouillet
1a6edbcf63
Fix some doc changes
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
Tjeu Kayim
75570d041a
Skip link checking for URL with prefix in config ( #846 )
5 years ago
Morgan
e8dc33ad08
fixes #844 duplicate entries in doc ( #845 )
5 years ago
Vincent Prouillet
ea5a106d6e
Update changelog
5 years ago
Vincent Prouillet
a3186091db
Update changelog
5 years ago
Laurent Arnoud
aaaed31f9c
Add title and body to alias page ( #830 )
5 years ago
Vincent Prouillet
d624f7ec8b
Update base64
5 years ago
Ryan Riginding
94b49dad09
fix(init): handle already existing path ( #815 )
* fix(init): handle already existing path
* chore: add tests
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
Jochen Kupperschmidt
587d7396b3
Properly escape `&` in injected live-reload script tag ( #825 )
"[…] `&` normally indicates the start of a character entity reference or
numeric character reference; writing it as `&` […] allows `&` to be
included in the content of an element or in the value of an attribute."
From: https://en.wikipedia.org/wiki/HTML#Character_and_entity_references
5 years ago
Jochen Kupperschmidt
b3bc8a8896
Do not attempt to serve on "well-known" ports ( #824 )
5 years ago
Vincent Prouillet
243702e2c2
Update tera
5 years ago
Tjeu Kayim
6149fd17e1
Skip anchor checking for URL with prefix in config ( #812 )
* cargo fmt & clippy
* Skip anchor checking for URL with prefix in config
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
Michael Macias
b1ceb3e80e
rendering: Avoid prepending URL prefix to links that start with a scheme ( #817 )
Links that start with a scheme (e.g., `tel:18008675309`) inadvertently
had a URL prefix prepended. Previously, only `mailto:` was handled, but
given the sheer number of [registered URI schemes][uri-schemes], a loose
pattern matcher is used to detect schemes instead.
External links, as identified by the renderer, are now limited to `http`
and `https` schemes.
Fixes #747 and fixes #816 .
[uri-schemes]: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
5 years ago
Vincent Prouillet
cb4056c0f2
Add zenburn theme
Closes #813
5 years ago
Vincent Prouillet
6856b11d6d
Looks like it now requires 1.36
5 years ago
Christopher Vittal
319985add4
Reset color after writing message in colorize
Presently when you `^C` in `zola serve` it is painted with the same
color as the previous message. This PR always ensures to reset the color
in colorize, before writing the newline.
5 years ago
Vincent Prouillet
0578e97d2f
Start 0.10
5 years ago
Neeraj Jaiswal
ffb4ebb245
Update dockerfile to remove hardcoded version number ( #939 )
4 years ago
Pierre-Edouard Guerin
eed0cd1196
add guerinpe.com to EXAMPLES.md ( #933 )
Hello !
I'm proposing my ZOLA blog to fill your examples list.
I'm very satisfied by ZOLA, thanks you for creating all this.
Pierre
4 years ago
Jonas Platte
9970bb2c25
Add blog.turbo.fish to EXAMPLES.md ( #926 )
4 years ago
Christopher Murphy
21b45aff10
fix: update year in docs template ( #917 )
Updated the copyright year in the docs template to reflect the new year.
4 years ago
Peter Lyons
0a754d004c
Add peterlyons.com to EXAMPLES ( #914 )
4 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
Klaus Purer
9ee71314bc
docs(examples): Add klau.si example ( #872 )
5 years ago
Fangdun Cai
3a33aa188a
Update EXAMPLES.md ( #870 )
5 years ago
Andrey Lesnikov
36431c5700
EXAMPLES: rust-gamedev.github.io & arewegameyet.rs ( #869 )
5 years ago
David Authier
f4b6f63d3c
:memo: Add TOML translations key example ( #864 )
5 years ago
Trevor D. Miller
6d7c95e8cb
Add example site ( #852 )
5 years ago
Bruno Rocha
df7d128713
Add codeshow.com.br to EXAMPLES.md ( #847 )
5 years ago
Sylvain Kerkour
481fcb9e52
examples: Add kerkour.fr in EXAMPLES.md ( #822 )
5 years ago
Matthias Endler
a2adb65f47
My website has moved ( #819 )
5 years ago
Vincent Prouillet
12615f3711
Merge pull request #806 from styfle/patch-1
Add ZEIT Now support
5 years ago
Vincent Prouillet
3de15a2bb4
Merge pull request #810 from ozkriff/patch-1
EXAMPLES: Add ozkriff.games
5 years ago
Andrey Lesnikov
d9d4683bd0
EXAMPLES.md: Add ozkriff.games
5 years ago
Vincent Prouillet
500bdd0c8c
Update github release task as well
5 years ago
Vincent Prouillet
09762b23ee
Zip archive on Windows releases
5 years ago
Steven
a992bc8e9d
Add ZEIT Now support
5 years ago
Vincent Prouillet
0c2e3f297c
Update badges
5 years ago
Vincent Prouillet
1bb144421b
Update EXAMPLES.md
5 years ago