Commit graph

596 commits

Author SHA1 Message Date
Hugo Trentesaux
1dc768284c
Update creating-a-theme.md (#2045)
remove duplicate doc
2022-12-03 21:15:40 +01:00
Vincent Prouillet
1e2da2fc25
Update themes gallery (#2038)
Co-authored-by: GitHub Action <action@github.com>
2022-11-30 15:36:35 +01:00
Alexander Borsuk
7ff5277925
Fixed default_language typo (#2040) 2022-11-28 10:20:41 +01:00
magikstm
6f29740c18
Update Shortcodes doc to add details on Macros for templates (#2035) 2022-11-25 12:01:33 +01:00
Vincent Prouillet
4eb3ec82d7
Update themes gallery (#2014)
Co-authored-by: GitHub Action <action@github.com>
2022-11-14 21:22:17 +01:00
Berin Aniesh
c9786020e4
update version of zola-deploy-action (#2012) 2022-11-02 22:05:11 +01:00
YesSeri
53cf920291
Quotation mark bug fix (#2005)
Changed double quotation mark " to single quotation ', otherwise the code doesn't work.
2022-10-30 21:43:05 +01:00
Vincent Prouillet
eba1913cdf
Update themes gallery (#1999)
Co-authored-by: GitHub Action <action@github.com>
2022-10-11 19:32:06 +02:00
Edward Maxwell-Lyte
ad6c834123
docs: github action version updates (#1977)
* docs: github action version updates

* Uses latest version of the action
* Updated requirement for token to be set
  (138a3568d1/entrypoint.sh (L44)
  will exit out without it)
* Reduced TOKEN scope and added scope to URL. Aligns with action docs

* docs: revert commentary on token requirement

* docs: add note about passing in automatic token
2022-08-30 10:28:49 +02:00
Vincent Prouillet
7f4060b82a
Update themes gallery (#1971)
Co-authored-by: GitHub Action <action@github.com>
2022-08-22 22:30:31 +02:00
Radovan Bast
f61e1ba9a2 parse also *.yml file suffix as YAML; closes #1958 (#1959)
previously only files with *.yaml suffix were recognized as YAML
2022-08-14 16:08:48 +02:00
Newbyte
6f0697d438 Update Alpine Linux installation instructions (#1953) 2022-08-14 16:08:48 +02:00
Erazem Kokot
a0333e71d3
Update Sourcehut deployment instructions (#1948)
This commit updates the example code for deploying Zola on Sourcehut and
also updates the wording of the tutorial a bit.
2022-08-01 12:42:51 +02:00
Vincent Prouillet
15a523b624 Add docs for backlinks 2022-07-25 14:14:12 +02:00
Vincent Prouillet
39bfbcd019
Merge pull request #1741 from getzola/next
Next version
2022-07-16 23:25:10 +02:00
Vincent Prouillet
7208b86d77
Insert anchor as full heading (#1916)
* Add insert_anchor = "heading"

* Update CHANGELOG.md

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2022-07-10 15:02:07 +02:00
mscherer
9669db0dcd
Fix misspelling in documentation (#1914) 2022-07-04 09:42:43 +02:00
Ayush
c2bdfb9af7
Add flatpak installation to docs (#1906)
Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-06-21 17:17:23 +02:00
Vincent Prouillet
faf306ec1b
Update themes gallery (#1899)
Co-authored-by: GitHub Action <action@github.com>
2022-06-18 23:12:04 +02:00
nyanpasu64
72243d9eeb
Fix incorrect documentation for syntax directory (#1901)
Currently the Configuration docs says to load syntax files into
config.toml [markdown] extra_syntaxes. However, ever since commit
23064f57c8 (released in Zola v0.15.0), the extra_syntaxes property was
replaced by extra_syntaxes_and_themes, and used as both syntax and color
theme search paths. Following the docs and trying to set the
extra_syntaxes property does nothing, and #1723 ran into this issue.

Change the docs to consistently reference extra_syntaxes_and_themes.
2022-06-16 14:37:49 +02:00
Vincent Prouillet
5873e0319c Add title_bytes sorting method 2022-06-13 23:37:39 +02:00
Vincent Prouillet
4cb91dab0b Remove simplify theme
Closes #1863
2022-06-13 09:50:58 +02:00
bemyak
d4b5c4fdc4
Make robots.txt compliant with RFC (#1895)
The [RFC](http://www.robotstxt.org/orig.html) mentions only `Disallow`
directive, so it must appear in the file.

`Allow` is an ad hoc agreement between search engines that no all of
them follow.
2022-06-12 21:41:38 +02:00
Vincent Prouillet
72461a1fc9
Update themes gallery (#1894)
Co-authored-by: GitHub Action <action@github.com>
2022-06-10 21:57:32 +02:00
Vincent Prouillet
c70aaf781e
Merge branch 'master' into next 2022-06-10 21:26:48 +02:00
Vincent Prouillet
42bcbf63cc Mention PAT for GH deploys
Closes #1785
2022-06-10 21:23:11 +02:00
Vincent Prouillet
85a16d1d4b Fix old docker image reference
Closes #1861
2022-06-10 21:16:38 +02:00
Vincent Prouillet
570e2fc278 Set current_term earlier in search JS
Closes #1856
2022-06-10 21:14:18 +02:00
Vincent Prouillet
3c540198b0 Mention CSS files in static assets overview
Closes #1892
2022-06-10 20:44:09 +02:00
Vincent Prouillet
294505f4bc
Update themes gallery (#1887)
Co-authored-by: GitHub Action <action@github.com>
2022-06-06 10:46:29 +02:00
Jt Miclat
aff5bff0a6
Update docker image name in docker installation (#1889) 2022-06-06 10:46:00 +02:00
Vincent Prouillet
b90492f641
Update themes gallery (#1860)
Co-authored-by: GitHub Action <action@github.com>
2022-05-16 10:42:25 +02:00
Michael Clayton
6240ed5469
add link_checker settings for external_level and internal_level (#1848)
* add external_level and internal_level

* remove unnecessary debug derive on LinkDef

* clarify doc comment about link check levels

* simplify link checker logging

* add missing warn prefix

* simplify link level logging, remove "Level" from linklevel variants

* remove link level config from test site

* switch back to using bail! from get_link_domain

* move console's deps to libs

* remove unnecessary reference

* calling console::error/warn directly

* emit one error, or one warning, per link checker run

* various link checker level changes

* add docs about link checker levels

* remove accidentally committed test site

* remove completed TODO
2022-05-11 21:54:34 +02:00
Colin Dean
f7f5545bdc
Enables setting base-url to / for relative URLs in serve mode (#1853)
Having to change the base URL to whatever ngrok URL was provisioned for
me was frustrating. This patch enables setting it to `/`, which will
then make the `get_url()` function simply return `/`.
2022-05-10 22:04:40 +02:00
Vincent Prouillet
beb93f2b0a Expose backlinks 2022-05-08 14:10:29 +02:00
Vincent Prouillet
1fbe6fbbef
Update themes gallery (#1847)
Co-authored-by: GitHub Action <action@github.com>
2022-05-03 18:50:41 +02:00
Ken "Elf" Mathieu Sternberg
77eb9fef9b
Create pull request/add yaml to load data (#1842)
* Add YAML to formats supported by load_data()

A fairly trivial addition; JSON and YAML are handled so similarly
that this was a matter of copying the JSON-relevant handlers and
editing the copies to handle YAML as well.  The test file was
literally generated with 'json2yaml'.

The documentation has been updated to indicate that load_data() now
handles YAML code.

The CHANGELOG has been updated as well.

* After checking, I found that it's generally agreed the mime type is still application/x-yaml.

* Update comment, unify library importing.

I noticed one more place where the list of formats was supported,
and added YAML to that list.

I noticed that there's a singular place to load the `libs::` crate,
and unified by importing of serde_yaml in that place.
2022-04-29 20:22:02 +02:00
Vincent Prouillet
84951d39e3 Allow taxonomies to not be rendered
Closes #1750
2022-04-27 21:11:42 +02:00
Vincent Prouillet
55126050b3
Update themes gallery (#1834)
Co-authored-by: GitHub Action <action@github.com>
2022-04-26 19:48:32 +02:00
Vincent Prouillet
468bce93da
Update themes gallery (#1829)
Co-authored-by: GitHub Action <action@github.com>
2022-04-20 14:53:48 +02:00
Hidde Beydals
1d9d345264
Update broken link to container image versions (#1830)
This seems to have been forgotten in 2ded7f5a.
2022-04-18 19:58:20 +02:00
Luís Fonseca
896ea596fd
rename extra_highligh_themes to extra_syntaxes_and_themes (#1828)
extra_highligh_themes does not exist
2022-04-17 19:38:24 +02:00
Vincent Prouillet
8d979bfd4e
Update themes gallery (#1813)
Co-authored-by: GitHub Action <action@github.com>
2022-03-31 21:15:18 +02:00
Daniel RB
b8342e7da7
docs: fix overview example link #1786 (#1811)
* docs: fix overview example link

* docs: use get_url to track section

* docs: ignore get_url in example
2022-03-29 12:35:26 +02:00
Spencer Scorcelletti
a13d41b47c
Allow load_data to take a literal (#1794) (#1794)
* Add `literal` as a new entry for `data source`, to be used by the `load_data` function

* Add tests to the module for plain text, json, xml, toml, and csv

* Update error messaging to include literal as a potential choice

* Update site documentation to include instructions for using `load_data` with a literal
2022-03-21 10:15:24 +01:00
Michael Clayton
336a2716e0
switch from chrono to time (#1790)
* switch from chrono to time

* remove some unused time features

* get utc offset before threading begins
2022-03-20 22:01:01 +01:00
Vincent Prouillet
b66a4f2387
Update themes gallery (#1800)
Co-authored-by: GitHub Action <action@github.com>
2022-03-18 17:26:38 +01:00
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