Commit graph

547 commits

Author SHA1 Message Date
doomy
88e0624f11
Added XML support for load_data (#1769)
Co-authored-by: doomy <2640792-_doomy@users.noreply.gitlab.com>
2022-03-04 21:28:08 +01:00
Vincent Prouillet
a67370b8d8 Update pulldown_cmark 2022-03-04 00:16:48 +01:00
southerntofu
fb347c2e02
Bugfix check links i18n (close #1694) (#1780)
* Treat _index.LANG.md as section, not page (close #1694)
Display more advanced information in case of a future crash here

* Add link to translated local section in test_site_i18n to catch #1694
It appears linking to another translated page does not trigger the bug,
but linking to a section within the same (translated) page does.

* Allow (and test for) homepage internal links in broken link detection

Co-authored-by: southerntofu <southerntofu@thunix.net>
2022-02-26 21:56:33 +01:00
Vincent Prouillet
3dde2ce562 Update netlify deploy docs 2022-02-15 20:56:38 +01:00
Kartavya Vashishtha
a5890a9901 Make ignored_content work with nested paths and directories (#1738)
* Make ignored_content work with directories
Just had to remove strip_prefix(path) from file ignore code.
Added tests for subdirectory globbing.

* Add documentation

* add more tests
to confim that simple filename globs still match paths
without strip_prefix
2022-02-14 11:08:40 +01:00
Vincent Prouillet
53fca748e8 Mention Sass version support
Close #1619
2022-02-14 11:08:40 +01:00
Vincent Prouillet
f4f1e4b6e1 Mention translations for default language
Close #1634
2022-02-14 11:08:40 +01:00
Vincent Prouillet
4dfb35d83a Mention paginator in getting started overview
Close #1658
2022-02-14 11:08:40 +01:00
Vincent Prouillet
108d196b85 Add link to theme in syntax doc
Close #1679
2022-02-14 11:08:40 +01:00
Vincent Prouillet
a9b4cc6302 Add stemmer for other languages in the docs
Close #1740
Close #1349
2022-02-14 11:08:40 +01:00
Vincent Prouillet
90bddf0ef5
Update themes gallery (#1755)
Co-authored-by: GitHub Action <action@github.com>
2022-02-10 10:09:25 +01:00
alexander
991c18c2de
fixing docs for #1753 (#1757) 2022-02-10 10:09:15 +01:00
Philpax
542daa752c
Shortcodes: Mention argument parens are mandatory (#1752) 2022-02-07 11:15:14 +01:00
Vincent Prouillet
a7abc84067
Update themes gallery (#1742)
Co-authored-by: GitHub Action <action@github.com>
2022-01-23 23:39:09 +01:00
liushuyu
37b31cb61f templates/load_data: add an optional parameter headers (#1710)
* templates/load_data: add an optional parameter headers ...

... now `load_data` function supports setting extra headers

* docs/templates/overview: cover some edge-cases in the explanation

* templates/load_data: fix caching logic with headers

* docs/templates: change wording for load_data headers explanations
2022-01-23 14:33:51 +01:00
Koen Bolhuis
13e35963ad Fix option in syntax highlighting docs (#1712)
The sentence mentions `highlighting_themes_css` but the actual option is `highlight_themes_css`.
2022-01-23 14:33:51 +01:00
keno
c5aa1a2a33 docs: Add missing punctuation 2022-01-23 14:33:51 +01:00
Vincent Prouillet
14ccd898ba
Update themes gallery (#1737)
Co-authored-by: GitHub Action <action@github.com>
2022-01-18 10:56:30 +01:00
ilham
baae4d7101
Fix typo in docs (#1739) 2022-01-17 19:55:29 +01:00
Vincent Prouillet
47773c27d3
Update themes gallery (#1728)
Co-authored-by: GitHub Action <action@github.com>
2022-01-13 23:08:57 +01:00
Moritz
2aac1633ee
Improved Cloudflare Pages deployment guide (#1733)
Improved readability and fixed a few mistakes
2022-01-13 19:55:09 +01:00
Rishi Raj Jain
f4d312ba04
simplify Layer0 deployment guide (#1727)
* Update layer0.md

* Update layer0.md
2022-01-10 21:33:10 +01:00
w1kee
25ab1bcd59
docs: fix missing doublequote (#1719) 2022-01-04 21:01:37 +01:00
Philpax
ef26db82f8
docs: filter to main for example GH Pages config (#1715)
* docs: filter to main for example GH Pages config

* docs: update GH Pages wording to indicate choice of branch

* docs: typo fix
2022-01-04 11:51:17 +01:00
Dym Sohin
fac80b76ea
fix thumbnails sqaushing/stretching (#1711) 2022-01-03 13:33:17 +01:00
gcchaan
359de43587
Fix typo (#1709) 2021-12-28 14:18:41 +01:00
Vincent Prouillet
dbdacfabe5 Remove marketing content 2021-12-27 23:22:35 +01:00
Rishi Raj Jain
9a5f5207c1
Guide: Deploy Zola with Layer0 (#1704) 2021-12-23 19:58:53 +01:00
Ricky Nelson
bc51b5da36
Fix typo (#1706)
This file ends up in the public directory, not the static directory.
2021-12-23 19:40:53 +01:00
Vincent Prouillet
2ded7f5a81 dockerhub -> ghcr 2021-12-08 20:38:40 +01:00
Vincent Prouillet
a8a236f39c
Merge pull request #1597 from getzola/next
Next
2021-12-05 20:55:57 +01:00
Vincent Prouillet
d8aebbd220
Update themes gallery (#1674)
Co-authored-by: GitHub Action <action@github.com>
2021-12-03 19:45:41 +01:00
Vincent Prouillet
769264e3e5 Fix docs for get_url
Closes #1667
2021-12-02 19:53:42 +01:00
Vincent Prouillet
10a39e57ff Mention config.mode 2021-11-30 10:22:54 +01:00
BezPowell
35359fb312
Add generic template fallbacks to taxonomies (#1651)
* Split checking for theme template off into separate function

Allows to check for fallbacks elsewhere in the code, without attempting to actually render the template.

* Add template fallback checking to taxonomy pages.

* Add template fallback checking to paginated taxonomies

Requires passing additional arguments to Paginator::from_taxonomy, which may not be desirable.

* Update documentation to reflect taxonomy template fallbacks.

* Update generic taxonomy template names.

* Make check_template_fallbacks() return &str.

* Add tests for check_template_fallbacks
2021-11-29 09:54:16 +01:00
Vincent Prouillet
976ff6f2ef
Merge branch 'master' into next 2021-11-25 16:22:08 +01:00
Vincent Prouillet
862149e92e Update pinned ci version 2021-11-25 09:15:22 +01:00
Vincent Prouillet
19125e8dd2
Back to pest (#1665) 2021-11-23 22:58:51 +01:00
fumihiko hata
48e4fa0ce5
fix typo (#1663) 2021-11-19 22:34:00 +01:00
Jianan Sun
e186f08516
Fix page.updated's document. #1641 (#1644) 2021-10-21 11:54:14 +02:00
Paul Fesenmeier
f8020a3139
Show usage of latest github action version (#1638) 2021-10-14 15:01:40 +02:00
Matt K
dd0ce5c79a
Make whitespace separation consistent/explicit (#1628) 2021-09-24 15:27:37 +02:00
David
23064f57c8
Support custom syntax highlighting themes (#1499)
Related to #419

Gruvbox tmTheme added to test_site, it is taken from
https://github.com/Colorsublime/Colorsublime-Themes (MIT licensed)
2021-09-13 21:08:48 +02:00
Vincent Prouillet
9946506e1c
Update themes gallery (#1614)
Co-authored-by: GitHub Action <action@github.com>
2021-09-12 21:44:45 +02:00
Avinash Sonawane
8258305117
Some more improvements to documentation (#1508)
* Docs: resize_image is a Zola built-in Tera function

* Fix highlight languages
2021-09-10 16:10:10 +02:00
Matt K
9f88d7539f
fix typo (#1613) 2021-09-07 10:03:54 +02:00
Vincent Prouillet
95163284e7 Fix outdated i18n setup config 2021-09-04 08:32:45 +02:00
acheronfail
b503d5cc86
feat: add required argument to taxonomy functions (#1598) 2021-09-04 08:25:03 +02:00
Jochen Kupperschmidt
4c4fad2cfb
Adjust whitespace in expression delimiters (#1610)
Consistent whitespace makes the constructs easier to recognize.
2021-09-04 08:11:56 +02:00
southerntofu
84b75f9725
[feature] Shortcodes and anchor-link.html can access lang context (#1609)
* Pass lang to shortcodes context

* Add tests for lang in shortcodes

* Lang is passed to anchor-link.html template

* Document passing lang to shortcodes/anchor-link.html
Add a test to make sure lang can be overriden by passing an explicit argument to the shortcode,
for usage in the markdown filter where the language context is not available.

* Update docs for more information on shortcodes+i18n+markdown() filter

Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-09-04 08:10:33 +02:00