Commit graph

737 commits

Author SHA1 Message Date
GitHub Action
836cb24804 Update themes gallery 2024-11-11 06:00:08 +00:00
Vincent Prouillet
a91ae35872
Update themes gallery (#2685)
Co-authored-by: GitHub Action <action@github.com>
2024-11-07 23:23:44 +01:00
Vincent Prouillet
571635409b
Update themes gallery (#2669)
Co-authored-by: GitHub Action <action@github.com>
2024-10-19 10:32:22 +02:00
Jessica Stokes
6d4b11008a
Improve shortcode name documentation to specify first-letter rule (#2655)
This updates the Shortcodes documentation to specify that shortcode names must begin with a letter or an underscore.

fixes #2654
2024-09-29 21:05:12 +02:00
Vincent Prouillet
1ac1231de1
Update themes gallery (#2627)
Co-authored-by: GitHub Action <action@github.com>
2024-09-05 10:28:02 +02:00
Vincent Prouillet
38fddc692a
Update themes gallery (#2617)
Co-authored-by: GitHub Action <action@github.com>
2024-08-21 13:33:10 +02:00
David Lapshin
d6f7be5e64 Fix wrong URL in Codeberg Pages guide 2024-08-18 19:57:30 +02:00
Clar Fon
59d70749af Fix shortcode/continue-reading parsing with inline HTML (smaller version) (#2606)
* Fix shortcode/continue-reading parsing with inline HTML (smaller version)

* Remove inline <!-- more -->
2024-08-15 20:19:03 +02:00
Martin Vassor
b3fc3f49cf Add fields to disable sitemap.xml and robots.txt generation (#2579)
* Add feature to disable robots.txt and sitemap.xml from the config file.

Addresses feature request #2248

* Add documentation for no_sitemap & no_robots

* Rename no_robots and no_sitemap into generate_robots_txt and generate_sitemap (default to true)

* fix rustfmt issues

* Change documentation to show defaults

* Update documentation for the fields generate_sitemaps (resp. robots_txt), now that the default is true and false is needed to disable
2024-08-15 20:19:03 +02:00
David Lapshin
8a26da7ec0 Add documentation on deploying to Codeberg Pages (#2584) 2024-08-15 20:19:03 +02:00
Rik Huijzer
bbd8dd1900
Clarify shortcode usage (#2600) 2024-08-15 14:25:42 +02:00
Vincent Prouillet
43af34ec54
Update themes gallery (#2611)
Co-authored-by: GitHub Action <action@github.com>
2024-08-15 14:20:29 +02:00
Christopher Knight
8c3ec92d39
fixed broken links (#2612) 2024-08-14 14:10:46 +02:00
Vincent Prouillet
051becaa1c
Update themes gallery (#2597)
Co-authored-by: GitHub Action <action@github.com>
2024-08-07 12:12:29 +02:00
Vincent Prouillet
718274c368
Update themes gallery (#2590)
Co-authored-by: GitHub Action <action@github.com>
2024-08-01 22:30:49 +02:00
LeoniePhiline
c273211c8b
fix(docs): fix typo "yavascript" (#2570) 2024-07-16 18:02:12 +02:00
orphen
6390f65052
docs: fix order of events in zola overview (templates, server, content) (#2574) 2024-07-15 20:47:35 +02:00
Philipp Schilk
c20b336cd9
fix(docs): Use CSS-style comments in syntax highlight CSS suggestion snippet. (#2572) 2024-07-13 23:07:53 +02:00
LeoniePhiline
e834c7a149
docs(installation): add instructions for openSUSE Leap and Tumbleweed (#2569)
When installing `zola` from repositories,
the bash, zsh and fish autocompletion packages
are co-installed as recommended packages.

Package details for all distributions:
https://software.opensuse.org/package/zola?baseproject=ALL
2024-07-13 23:01:42 +02:00
Vincent Prouillet
9c01b8f470
Update themes gallery (#2559)
Co-authored-by: GitHub Action <action@github.com>
2024-07-01 20:02:12 +02:00
Vincent Prouillet
b97f8a1fe2 Update changelog + add back config.generate_feed in templates for now 2024-06-24 23:03:21 +02:00
Ruize Tang
135e5e438b
Fix GitLab CI/CD getting stuck (#2543) 2024-06-24 09:15:42 +02:00
Vincent Prouillet
1142370fdd
Update themes gallery (#2544)
Co-authored-by: GitHub Action <action@github.com>
2024-06-24 09:15:25 +02:00
Vincent Prouillet
2e17c77660 Better documentation for get_url
Closes #2530
2024-06-21 21:21:11 +02:00
LunarEclipse363
c054ed1b10 Added support for multiple feeds (i.e. generating both Atom and RSS) (#2477)
* Added support for multiple feeds

* Implemented backwards-compatibility for feed config

* Added a test for feed config backwards-compat, fixed bugs

- Fixed language config merge bug found by a test
- Adjusted two existing tests to fully check stuff related to multiple feeds
- Added a new test for backwards-compatibility of the changes
- Fixed bugs found by the newly added test

* Renamed MightBeSingle to SingleOrVec

* Made the multiple feeds config changes "loudly" backwards-incompatible

* added #[serde(deny_unknown_fields)] to front-matter, fixed problems this found in tests
2024-06-20 23:15:24 +02:00
endesigner
cb2a4b0ee8 Prevent generating folder & index.html for a specific page 2024-06-20 23:15:24 +02:00
Connor K
26f6677bfb Add support for Fuse.js search format (#2507)
* inital "just barely works" Fuse.js support

* implement FuseJavascript; refactor index_for_lang

* support search config

* move fuse index building to it's own file

* update doc of Search.index_format

* update config docs

* update search documentation

* use &str where possible

* use libs::serde_json

remmeber to commit Cargo.lock

* move extension logic to IndexFormat

* move the entire filename logic inside IndexFormat

* move elasticlunr to it's own module

* only create elasticlunr.min.js if we're actually using elasticlunr

* move ELASTICLUNR_JS to elasticlunr.js

* hide the details of search's submodules

* optionally include path

* explain include_path better

* remove references to stork

* replace if with match

* support include_description

* specify "permalink"

* move body cleaning and truncation to a function

* update truncate_content_length docs to specify *code points*
2024-06-20 23:15:24 +02:00
Eugene Lomov
6a2b890545 Implemented bottom footnotes with backreferences (#2480)
* Implemented bottom footnotes with backreferences

Fixes #1285

* Added bottom_footnotes option to configuration.md

* Renamed fix_github_style_footnotes()

* Added tests for convert_footnotes_to_github_style()

* Changed test to plain html instead of Vec<Event>

* Added integration test for footnotes

* Applied suggested changes
2024-06-20 23:15:24 +02:00
William Ouwehand
954f1ce533 Fix section transparency serialization (#2462)
Fixes passing section.transparency for
https://github.com/getzola/zola/issues/1840
2024-06-20 23:15:24 +02:00
Clar Fon
aa81986580 Add MIME type to get_image_metadata (#2409) 2024-06-20 23:15:24 +02:00
SumDonkuS
80bcc51fd2 Issue 2359 get section by lang (#2410)
* adding optional `lang` arugment to `get_section` global function

* Add handling of default language passed in `lang` argument of `get_section`

* Remove clones for path.  Change "?" to an explicit check for error

* lint changes

* Clean up error handling for add_lang_to_path call

* fix format

* Add optional parameter "lang" to get_page template function.  Add check for language available in config.

* Modify helper function name from calculate_path to get_path_with_lang.  Modify documentation for get_section and get_page to include equivalent calls without using lang argument to demostrate how lang argument effects pathing.
2024-06-20 23:15:24 +02:00
Morgan Creekmore
a9ab3592c8 Add option to include date in search index (#2401) 2024-06-20 23:15:24 +02:00
Jonas Diemer
b965c89d12
Added documentation about relative image resizing and scaling of high-res (#2096) 2024-06-15 23:08:40 +02:00
Vincent Prouillet
692c690a22
Update themes gallery (#2524)
Co-authored-by: GitHub Action <action@github.com>
2024-06-14 23:03:49 +02:00
FireIsGood
68a7002b43
Docs: Fix long words breaking the site on small screens (#2521)
* Add overflow wrap for long words

* Fix specific case of overflowing text
2024-06-13 09:39:44 +02:00
Vincent Prouillet
c7f601f03e
Update themes gallery (#2518)
Co-authored-by: GitHub Action <action@github.com>
2024-06-12 18:39:25 +02:00
FireIsGood
606c2be425
Improve docs header style (#2516)
* refactor: pattern to separate file

causes a lot of lag and also probably isn't the best to inline since we
have scss preprocessing

* fix: escape quotes properly

* feat: improve header styles
2024-06-12 00:02:22 +02:00
FireIsGood
0056851e31
Fix theme images loading (#2517)
* chore: format themes file

* feat: add aspect ratio to theme images
2024-06-11 11:48:55 +02:00
Vincent Prouillet
8aedec9843
Update themes gallery (#2510)
Co-authored-by: GitHub Action <action@github.com>
2024-05-27 20:37:24 +02:00
orphen
3d0749d478
fix: fix docs CI workflow; build in MRs; build and deploy on master (#2504)
* fix: fix docs CI workflow; build in MRs; build and deploy on master

* fix: set link checker to warn, not error, for site in docs/
2024-05-24 20:48:27 +02:00
Vincent Prouillet
ceced4bf1c
Update themes gallery (#2505)
Co-authored-by: GitHub Action <action@github.com>
2024-05-23 21:48:08 +02:00
june
bf77b5223a
Fix cloudflare pages asdf workaround (#2500)
Trying to deploy with the current asdf command gives me this error:

```
23:47:45.659	Executing user command: zola build
23:47:45.899	Building site...
23:47:45.904	Error: Failed to build the site
23:47:45.904	Error: Error parsing templates from the /templates directory
23:47:45.904	Error: Reason: Io error while writing rendered value to output: NotFound
23:47:45.904	Error: Reason: No such file or directory (os error 2)
23:47:45.906	Failed: Error while executing user command. Exited with error code: 1
23:47:45.915	Failed: build command exited with code: 1
23:47:46.837	Failed: error occurred while running build command
```

Changing the command to use the latest version, 0.18.0 fixed this.
2024-05-17 13:28:34 +02:00
Vincent Prouillet
18245b323c
Update themes gallery (#2490)
Co-authored-by: GitHub Action <action@github.com>
2024-05-07 23:29:59 +02:00
Ryan Wong
f682baa85e
docs(installation): Add information for Gentoo Linux (#2492)
Gentoo linux: https://www.gentoo.org/

Also fixed 2 lines of space formatting
2024-05-07 22:40:54 +02:00
Tirthankar Mazumder
b93640851e
Update overview.md (#2486)
Code snippet the search path to make it look more aesthetic
2024-05-03 20:29:31 +02:00
Nathan Friedly
55e1844c1d
Docs: slugify.paths replaces whitespace with - not _ (#2474)
Minor documentation fix: when `slugify.paths` is set to `"safe"`, whitespaces are replaced with a hyphen, not an underscore.
2024-04-18 13:12:38 +02:00
Vincent Prouillet
9fefe84e69
Update themes gallery (#2471)
Co-authored-by: GitHub Action <action@github.com>
2024-04-01 22:18:38 +02:00
Joshua Gawley
8af3e124a5
Point out that Sass compilation has to be enabled in config.toml (#2458) 2024-03-18 21:53:06 +01:00
Jérôme Ramette
9a5e95cf3d
fix CloudFront invalidation directive in publish.yml GitHub action file (#2456) 2024-03-18 21:49:21 +01:00
TrialDragon
11d2521d7a
Add mention of authors page variable to docs (#2451)
The `authors` variable so far has only been documented as something you can define in the front matter for use of feeds, but it also works in templates to define the authors of a page. (For practical use see: 6c293fa1a4 (diff-672b08946ef5cbc8db5c086bf50651b69b29e9d7be0708a1de7ded170b440e99))

This PR adds it to the documentation so that folks don't have to dig in commit histories to figure out it also works in templates.
2024-03-06 20:09:22 +01:00