-
Notifications
You must be signed in to change notification settings - Fork 943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section nested under page must respect its slug in the URL path #2369
base: next
Are you sure you want to change the base?
Commits on Mar 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8d16d17 - Browse repository at this point
Copy the full SHA 8d16d17View commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b00ae42 - Browse repository at this point
Copy the full SHA b00ae42View commit details -
Speedup "zola check" command by reusing the Client (getzola#2171)
* Reuse Client when checking urls and add timeout for requests
Configuration menu - View commit details
-
Copy full SHA for 1ed722c - Browse repository at this point
Copy the full SHA 1ed722cView commit details
Commits on Apr 20, 2023
-
Implement replace_re filter (getzola#2163)
* Implement replace_re filter * Cargo fmt * add regex caching * cargo fmt * update docs, update unit test * rename replace_re -> regex_replace
Configuration menu - View commit details
-
Copy full SHA for 6a5c241 - Browse repository at this point
Copy the full SHA 6a5c241View commit details
Commits on Apr 23, 2023
-
templates: add base URL for feed content (getzola#2190)
Relative links in the entry content do not currently have a base URI, so will be resolved relative to the feed URI: Given an entry with the content: <a href="some-resource.bin"> And URIS of: * entry: https://example.org/blog/some-entry/ * feed: https://example.org/atom.xml The link URI will end up as: https://example.org/some-resource.bin rather than the URI that ends up resolved in the rendered page: https://example.org/blog/some-entry/some-resource.bin The atom and RSS formats allow for an xml:base attribute (itself specified in [1]) to provide a base URI of a subset of a document. This change adds xml:base attributes to each entry, using the page permalink. This gives us something equivalent to: <entry> <content xml:base="https://example.org/blog/some-entry/"> <![CDATA[ <a href="some-resource.bin"> ]]> </content> </entry> [1]: https://www.w3.org/TR/xmlbase/ Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Configuration menu - View commit details
-
Copy full SHA for c48b61a - Browse repository at this point
Copy the full SHA c48b61aView commit details
Commits on Apr 28, 2023
-
Fix multi-lingual json index (getzola#2197)
* Fix multi-ligual json index * multi-lingual search Fix cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 7edf92b - Browse repository at this point
Copy the full SHA 7edf92bView commit details
Commits on May 1, 2023
-
Add search.index_format into the serialized config (getzola#2165) (ge…
…tzola#2196) * Add search into the serialized config (getzola#2165) * Only expose index_format * Create config.search struct * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 7448309 - Browse repository at this point
Copy the full SHA 7448309View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f77980 - Browse repository at this point
Copy the full SHA 4f77980View commit details
Commits on May 6, 2023
-
Hard link serve panic fix (getzola#2210)
* Fix hard link panic and add better error info to std:fs errors * cargo fmt * Remove erroneously committed config change * Remove console import; Use with context to provide additional error info * improve error wording
Configuration menu - View commit details
-
Copy full SHA for 1321a83 - Browse repository at this point
Copy the full SHA 1321a83View commit details -
Add support for lazy loading images (getzola#2211)
* Add optional decoding="async" loading="lazy" for img In theory, they can make the page load faster and show content faster. There’s one problem: CommonMark allows arbitrary inline elements in alt text. If I want to get the correct alt text, I need to match every inline event. I think most people will only use plain text, so I only match Event::Text. * Add very basic test for img This is the reason why we should use plain text when lazy_async_image is enabled. * Explain lazy_async_image in documentation * Add test with empty alt and special characters I totaly forgot one can leave the alt text empty. I thought I need to eliminate the alt attribute in that case, but actually empty alt text is better than not having an alt attribute at all: https://www.w3.org/TR/WCAG20-TECHS/H67.html https://www.boia.org/blog/images-that-dont-need-alternative-text-still-need-alt-attributes Thus I will leave the empty alt text. Another test is added to ensure alt text is properly escaped. I will remove the redundant escaping code after this commit. * Remove manually escaping alt text After removing the if-else inside the arm of Event::Text(text), the alt text is still escaped. Indeed they are redundant. * Use insta for snapshot testing `cargo insta review` looks cool! I wanted to dedup the cases variable, but my Rust skill is not good enough to declare a global vector.
Configuration menu - View commit details
-
Copy full SHA for b5a90db - Browse repository at this point
Copy the full SHA b5a90dbView commit details
Commits on Jul 10, 2023
-
Prevent spans crossing line boundaries in class-based code block form…
…atter (getzola#2237) * Prevent spans crossing line boundaries in class formatter * Add snapshot tests for classed highlighting
Configuration menu - View commit details
-
Copy full SHA for 1778707 - Browse repository at this point
Copy the full SHA 1778707View commit details -
always sort assets by filename (Windows/Linux difference) (getzola#2236)
* sort page.assets by filename Uses .to_str() to sort files and subfolders. The .unwrap() may need work or be replaced by unwrap_or_default(). Given earlier checks in the function it should work however. * add tests for assets sorting * fix rustfmt * use existing loop instead of windows * also check the non-recursive test * use .zip() and add assert msg
Configuration menu - View commit details
-
Copy full SHA for afc0e2c - Browse repository at this point
Copy the full SHA afc0e2cView commit details
Commits on Jul 26, 2023
-
Atom template authors (getzola#2259)
* templates:atom: add support for multiple authors Atom 1.0 [0] support multiple `<author>` entries in the feed. This commit modified the template to generate as many `<author>` as the page's metadata contains. [0] https://validator.w3.org/feed/docs/atom.html#recommendedEntryElements * Test we can have multiple authors in ATOM feeds
Configuration menu - View commit details
-
Copy full SHA for 66f5bf5 - Browse repository at this point
Copy the full SHA 66f5bf5View commit details
Commits on Jul 27, 2023
-
Add attributes to base_url link in atom template (getzola#2261)
The `rel` and `type` HTML attributes are needed in the `base_url` (or `section.permalink`) link so feed aggregators know that's the HTML page that corresponds to the atom feed. Note: The RSS template doesn't have this issue.
Configuration menu - View commit details
-
Copy full SHA for f962370 - Browse repository at this point
Copy the full SHA f962370View commit details
Commits on Jul 30, 2023
-
Fixes getzola#2250; Error instead of panic when root directory or con…
…fig file not present (getzola#2262)
Configuration menu - View commit details
-
Copy full SHA for d3793cd - Browse repository at this point
Copy the full SHA d3793cdView commit details
Commits on Aug 4, 2023
-
Fix LFI in
zola serve
(getzola#2258)* use fs canonicalize to prevent path traversal * fix cargo fmt
Configuration menu - View commit details
-
Copy full SHA for fe1967f - Browse repository at this point
Copy the full SHA fe1967fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b97a1d5 - Browse repository at this point
Copy the full SHA b97a1d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b984d - Browse repository at this point
Copy the full SHA f0b984dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57968be - Browse repository at this point
Copy the full SHA 57968beView commit details
Commits on Aug 13, 2023
-
Add ignored_static to config (getzola#2209)
* Add ignored_static to config * Make handle ignored static files correctly * cargo fmt * Match on relative path rather than incorrect target path * path -> partial path for serve static ignore * remove debug println * copy static directory if there is no ignored globset * Update docs * Deduplicate code with additional Option argument * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for c4341b1 - Browse repository at this point
Copy the full SHA c4341b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4474afa - Browse repository at this point
Copy the full SHA 4474afaView commit details
Commits on Aug 17, 2023
-
Add Checking and Force Flag for Directory in Serve Command (getzola#2265
Configuration menu - View commit details
-
Copy full SHA for e81e139 - Browse repository at this point
Copy the full SHA e81e139View commit details
Commits on Aug 30, 2023
-
fix: suppress highlight language warnings if highlight_code is false (g…
…etzola#2287) The warning about unknown highlight languages was displayed even when code highlighting was disabled via `markdown.highlight_code = false`. This commit adds a condition to check this setting before issuing the warning, effectively suppressing it when code highlighting is disabled. Issue: getzola#2280
Configuration menu - View commit details
-
Copy full SHA for 674c433 - Browse repository at this point
Copy the full SHA 674c433View commit details
Commits on Sep 24, 2023
-
Avoid unnecessary checking for already checked links (getzola#2305)
* Fixed "unnecessary mut" warning * Fixed minor typo * Use more than 8 threads for links checking if hardware supports it * Fixed failing azure Linux check * Avoid unnecessary HTTP requests to the same, already checked links
Configuration menu - View commit details
-
Copy full SHA for 1b423fb - Browse repository at this point
Copy the full SHA 1b423fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da4981 - Browse repository at this point
Copy the full SHA 2da4981View commit details -
Configuration menu - View commit details
-
Copy full SHA for a41547c - Browse repository at this point
Copy the full SHA a41547cView commit details
Commits on Sep 29, 2023
-
Update
grass
to 0.13 (getzola#2321)This allows benefitting from some bugfixes (potentially breaking but better compatibility with the reference Sass impl)
Configuration menu - View commit details
-
Copy full SHA for c8cc5f3 - Browse repository at this point
Copy the full SHA c8cc5f3View commit details
Commits on Oct 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d5d76e - Browse repository at this point
Copy the full SHA 5d5d76eView commit details
Commits on Oct 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d3cab30 - Browse repository at this point
Copy the full SHA d3cab30View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2e3fe2d - Browse repository at this point
Copy the full SHA 2e3fe2dView commit details
Commits on Nov 20, 2023
-
elasticlunr-rs 3.0.2, hu language support (getzola#2151)
Co-authored-by: Sandor Apati <s.apati@mito.hu>
Configuration menu - View commit details
-
Copy full SHA for f20a1ba - Browse repository at this point
Copy the full SHA f20a1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9afa349 - Browse repository at this point
Copy the full SHA 9afa349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 252bbe0 - Browse repository at this point
Copy the full SHA 252bbe0View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa254ca - Browse repository at this point
Copy the full SHA fa254caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b883c49 - Browse repository at this point
Copy the full SHA b883c49View commit details
Commits on Dec 10, 2023
-
Spence section nested under page uses parent slug in url path (#1)
* Make a test that replicates the issue regarding section paths not respecting page parents * Add a very rudimentary working implementation that passes the test * Rewrite solution to be more idiomatic rust
Configuration menu - View commit details
-
Copy full SHA for b98420e - Browse repository at this point
Copy the full SHA b98420eView commit details