Commit graph

2239 commits

Author SHA1 Message Date
Vincent Prouillet
3b5c87844b
Update themes gallery (#2721)
Co-authored-by: GitHub Action <action@github.com>
2024-12-03 16:04:34 +01:00
Vincent Prouillet
7099772dbd
Update themes gallery (#2707)
Co-authored-by: GitHub Action <action@github.com>
2024-11-18 23:15:39 +01:00
Christian Krenslehner
c09be73abf
Updated github action version (#2692)
The version in the snipped does not work. 
See issue:
https://github.com/shalzz/zola-deploy-action/issues/71
2024-11-12 11:25:12 +01: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
Dany Marcoux
eb157cad53
Add dmarcoux.com to EXAMPLES.md (#2652)
The setup with Cloudflare Pages and the development environment with a
Nix shell is documented. I believe this coudl be useful to others.
2024-09-29 20:43:58 +02:00
Andrew Zah
a152397f6b
remove my website from examples.md (using hugo) (#2638) 2024-09-15 21:39:17 +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
Vincent Prouillet
1aa21e0d95 Get ready for release 2024-08-15 20:19:03 +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
Tanishq
286b88e268 fix: zola panic if no static dir (#2608) 2024-08-15 20:19:03 +02:00
Walnut
abc851049d Add config option to ignore code blocks for word count (#2599)
* update docs

* add config option, logic, and tests

* remove config option
2024-08-15 20:19:03 +02:00
Samuel Tardieu
9dad659665 chore(components/config): cleanup code (#2592)
Cleanup code by using `Option::is_some_and()` and
`Option::as_deref()` instead of recoding them.
2024-08-15 20:19:03 +02:00
Samuel Tardieu
9594fa8d06 fix(taxonomies): fix error messages (#2591)
- Some error messages refer to `get_taxonomy_term_by_name` instead of
`get_taxonomy_term`
- If a term cannot be found in a taxonomy, the error message
erroneously pretends that the taxonomy itself is unknown instead of
the term.
2024-08-15 20:19:03 +02:00
orphen
64c868c3d4 fix: handle another fs event to fix change monitoring on Windows 10 (#2575) 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
Vincent Prouillet
1cc3ad333a Ensure file exists when receiving events for zola serve
Closes #2563
2024-08-15 20:19:03 +02:00
Vincent Prouillet
96f266e3f8 Ignore Helix temp files 2024-08-15 20:19:03 +02:00
Vincent Prouillet
f8ded09a28 Fix some feed_filenames issues with multi languages 2024-08-15 20:19:03 +02:00
Nikita Karamov
56122defde Fix YAML date parsing (#2549)
* Refine YAML date regex

This commit does a few changes:

- Introduce a new regex
  - it is a bit off-spec (it allows one-digit months and days in date-only mode)
  - uses named groups
  - avoids group duplication
- parses offset once

Fixes #2538

* Fix nanosecond parsing

* Rename variables for brewity

* Add tests
2024-08-15 20:19:03 +02:00
Vincent Prouillet
aa2847aa1e Next version 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
Newbyte
fbcffa97bb
0.19.1 Metainfo fixes (#2550)
* Metainfo: Add 0.19.1

* Metainfo: Fix date for 0.19.0

I entered the wrong date originally.

Fixes 7d612c69db

* Update zola.metainfo.xml

---------

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2024-06-25 19:46:52 +02:00
Vincent Prouillet
041da029ee Disable all serve tests for Windows for now 2024-06-24 23:03:21 +02:00
Vincent Prouillet
b97f8a1fe2 Update changelog + add back config.generate_feed in templates for now 2024-06-24 23:03:21 +02:00
Luke Hsiao
9774d761e3 fix: treat any data change as a modification (#2542)
For unknown reasons, it seems some environments emit a `DataChange::Any` event,
rather than specifying content or size, when a file is edited. As an example:

    [src/fs_utils.rs:72:9] &event = DebouncedEvent {
        event: Event {
            kind: Modify(
                Data(
                    Any,
                ),
            ),
            paths: [
                "/home/redacted/content/blog/2024-06-23_example.md",
            ],
            attr:tracker: None,
            attr:flag: None,
            attr:info: None,
            attr:source: None,
        },
        time: Instant {
            tv_sec: 78544,
            tv_nsec: 936740729,
        },
    }

Consequently, because this isn't treated by Zola as a modification, the
site is not rebuilt, which regresses on previous behavior.

This patch fixes this particular case by treating any data modification
events as a modification.

Closes: https://github.com/getzola/zola/issues/2536
2024-06-24 23:03:21 +02:00
Vincent Prouillet
233e1cdcbd Closes #2537 2024-06-24 23:03:21 +02:00
Vincent Prouillet
39dfc4b525 Next version 2024-06-24 23:03:21 +02:00
Newbyte
764b8cab84
Remove remote icon (#2546)
Otherwise appstream-compose fails on this:

Running: appstreamcli compose --no-partial-urls --prefix=/ --origin=org.getzola.zola --media-baseurl=https://dl.flathub.org/media --media-dir=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files/share/app-info/media --result-root=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files --data-dir=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files/share/app-info/xmls --icons-dir=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files/share/app-info/icons/flatpak '--components=org.getzola.zola,org.getzola.zola.desktop' /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files
Only accepting components: org.getzola.zola, org.getzola.zola.desktop
Processing directory: /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-6Fx4YU/files
Composing metadata...
Run failed, some data was ignored.
Errors were raised during this compose run:
org.getzola.zola
  E: no-stock-icon

And we don't really need an icon since Zola is a CLI app.
2024-06-24 20:56:24 +02:00
Newbyte
7d612c69db
Metainfo: Add 0.19.0 (#2545) 2024-06-24 18:27:33 +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
Vincent Prouillet
98843438c2 Update images for release as well 2024-06-20 23:55:09 +02:00
Vincent Prouillet
6f585856b4 Ready for release 2024-06-20 23:15:24 +02:00
Vincent Prouillet
4b0d13c0c7 Disable problematic test on Windows for now 2024-06-20 23:15:24 +02:00
Vincent Prouillet
0bb37c43f6 Try to update images on azure pipelines 2024-06-20 23:15:24 +02:00