Vincent Prouillet
1a6edbcf63
Fix some doc changes
2020-02-02 17:48:42 -08:00
photong
51d4b6bd6a
Simple clean up of documentation. ( #849 )
...
* Update installation.md
* Update cli-usage.md
* Update installation.md
* Update directory-structure.md
* Update configuration.md
* Update overview.md
* Update section.md
* Update page.md
* Update section.md
* Update configuration.md
* Update page.md
* Update section.md
* Update page.md
* Update shortcodes.md
* Update linking.md
* Update table-of-contents.md
* Update syntax-highlighting.md
* Update taxonomies.md
* Update search.md
* Update sass.md
* Update index.md
* Update multilingual.md
* Update overview.md
* Update pages-sections.md
* Update pagination.md
* Update taxonomies.md
* Update rss.md
* Update sitemap.md
* Update robots.md
* Update 404.md
* Update archive.md
* Update overview.md
* Update installing-and-using-themes.md
* Update creating-a-theme.md
* Update netlify.md
* Update github-pages.md
* Update gitlab-pages.md
* Update index.md
* Update page.md
* Update section.md
* Updates.
2020-02-02 17:48:42 -08:00
Tjeu Kayim
75570d041a
Skip link checking for URL with prefix in config ( #846 )
2020-02-02 17:47:01 -08:00
Morgan
e8dc33ad08
fixes #844 duplicate entries in doc ( #845 )
2020-02-02 17:47:01 -08:00
Geobert Quach
3f166285de
Paginator total pages ( #829 )
...
* feat(pagination): Add `total_pages` in paginator object
* feat(pagination): Added doc for `total_pages`
* feat(pagination): Added test for `total_pages`
2020-02-02 17:45:16 -08:00
Tjeu Kayim
6149fd17e1
Skip anchor checking for URL with prefix in config ( #812 )
...
* cargo fmt & clippy
* Skip anchor checking for URL with prefix in config
2020-02-02 17:45:16 -08:00
Bob
4aa2ba84fc
Let toc is visable through Page & Section variables in templates ( #818 )
...
* Let toc is visable through Page & Section variables in templates
* Removed the current toc variable from page & section
2020-02-02 17:44:38 -08:00
Vincent Prouillet
cb4056c0f2
Add zenburn theme
...
Closes #813
2020-02-02 17:44:38 -08:00
Vincent Prouillet
6856b11d6d
Looks like it now requires 1.36
2020-02-02 17:44:38 -08:00
Einar
e194294664
Pages -> Page ( #903 )
2019-12-26 13:55:54 +01:00
Eduardo Pinho
1bafec4309
Update links to Tera documentation ( #873 )
...
- "/templates" section is gone upstream
2019-12-10 07:00:58 +01:00
David Authier
f4b6f63d3c
📝 Add TOML translations key example ( #864 )
2019-11-28 19:18:52 +01:00
Vincent Prouillet
35b567742c
Ready for release
2019-09-24 19:12:13 -07:00
Arne Beer
f96aad2fdd
Only shrink when resizing with fit ( #803 )
2019-09-24 16:54:14 -07:00
Vincent Prouillet
b16d525134
Mention feed_url in docs
2019-09-16 11:46:17 +02:00
Bob
9db9fc8fb2
Fix the issue of generating the search index for multiple language ( #794 )
...
* fix the issue of generating the search index for multiple language
* updat docs for generating the search index for multiple language
* fix failed tests
* add tests for the search index of multiple language
2019-09-03 16:50:23 +02:00
Vincent Prouillet
fb89f94516
Process images on rebuild
...
Closes #790
2019-08-29 20:08:04 +02:00
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
2019-08-24 22:23:08 +02:00
BilLOPGVkPPn8z0JGJhgiAGNo9YAqpk5ruChl0F
258aecec34
Add one-dark syntax highlight theme ( #784 )
2019-08-24 19:06:41 +02:00
Daniel Egger
beb5a3af41
Universalize the GitHub pages publishing scheme ( #780 )
...
Added instructions on how to publish to <username>.github.io or <org>.github.io by changing the publishing branch in the repo to `master`. This should work for any type of GitHub publishing, including custom domains.
Fixes #765
2019-08-24 19:06:07 +02:00
Vincent Prouillet
6a7e955ab0
Add lang to get_taxonomy & get_taxonomy_url
2019-08-15 22:14:53 +02:00
Joseph Price
36f4ad9a4b
Missing argument in resize_image docs ( #778 )
2019-08-14 11:06:41 +02:00
Vincent Prouillet
f0c48b8a14
Add some more text to zola init
...
Closes #773
2019-08-13 20:16:09 +02:00
southerntofu
13b395b536
zola init works inside existing directories ( closes #406 ) ( #777 )
...
* zola init works without argument (defaults to current directory)
* zola init works with existing folders (no non-hidden files permitted)
* Update zola init documentation
* [docs] Optional argument is on a separate line for clarity
* Add tests for init subcommand's respect of existing folders
2019-08-13 19:56:57 +02:00
Vincent Prouillet
fd19469e40
Clarify a bit the pager term
...
Closes #775
2019-08-13 19:19:45 +02:00
Vincent Prouillet
7f459940e1
Allow multiple taxonomies with same name in different language
...
Closes #766
2019-08-10 18:54:32 +02:00
Vincent Prouillet
0e4e0c35b3
Remove all draft specific code
2019-07-19 11:10:28 +02:00
Hendrik Sollich
9f46048c0e
Add Tomorrow theme ( #749 )
2019-07-16 17:22:02 +02:00
Vincent Prouillet
f5c7b44027
Add warning for old style internal link + fix one
2019-07-12 22:56:07 +02:00
Vincent Prouillet
666de5160e
Fix Netlify auto-deploy instructions
...
Closes #745
2019-07-12 22:54:18 +02:00
Jakub Turski
8a737d71fb
Add an option to hard link files from static/ instead of copying. ( #723 )
...
* Add hard_link_static config option.
* Copy or hardlink file depending on an argument.
Modify the call sites for `copy_file` to account for the extra argument.
* Plug the config setting through to copy_file.
Don't apply the config option to theme's static directory.
* Update documentation.
* Backticks make no sense in this comment.
* Addressing PR comments.
* Be consistent with argument naming.
2019-07-12 22:54:18 +02:00
Tim Visée
90dad05c67
Add --open flag to serve command, to open URL in default browser ( #739 )
...
* Add --open flag to serve command, to open URL in default browser
* Mention serve --open flag in CLI documentation
2019-07-12 22:54:18 +02:00
Vincent Prouillet
f26f7719c6
Mention the id variable for the anchor link template
...
Closes #727
2019-07-12 22:54:18 +02:00
Jakub Turski
79dfe92bbf
Update cli-usage.md ( #729 )
...
* Update cli-usage.md
* clarify that it's only the links from markdown files that are being checked;
2019-07-12 22:54:18 +02:00
Avery Larsen
1cc0295637
Fix internal links ( #743 )
...
It looks like two links on this page didn't get updated with the change from `./` to `@/` in ec61a57
.
2019-07-11 10:00:35 +02:00
Tobias Kortkamp
6895ae5b10
docs: Add installation on FreeBSD ( #741 )
2019-07-10 21:39:30 +02:00
Igor Gnatenko
a49daa7463
docs: Add installation on Fedora ( #734 )
2019-06-30 18:10:21 +02:00
Vincent Prouillet
e6902264ef
Merge pull request #678 from getzola/next
...
0.8.0
2019-06-22 11:48:56 +02:00
Bridouz
089278faa7
Add url for base16 syntax highlighting examples
2019-06-17 10:08:05 +02:00
Han Kruiger
4e8093c589
Fix mistake in Sorting Subsections
documentation
2019-06-16 12:31:48 +02:00
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
2019-06-06 19:49:40 +02:00
Vincent Prouillet
cb962f7a64
Add aliases to sections
2019-06-02 20:21:06 +02:00
Stuart Small
12d2576fba
Fix for #632 - add ability to get asset image dimensions ( #670 )
2019-05-30 20:06:24 +02:00
Vincent Prouillet
ba6165fc47
Merge branch 'master' into next
2019-05-28 22:20:48 +02:00
Vincent Prouillet
ec61a57841
Use @/ for internal links rather than ./
...
Close #686
2019-05-27 14:35:18 +02:00
Vincent Prouillet
cdfd63a1ad
Add zola check to changelog and remove check option from config doc
2019-05-27 14:16:46 +02:00
Marcus Klaas de Vries
0d964204c3
Check command global ( #683 )
...
* Add check subcommand
* Add some brief documentation for the check subcommand
* Start working on parallel link checks
* Check all external links in Site
* Return *all* dead links in site
2019-05-27 14:05:07 +02:00
Vincent Prouillet
93338c2762
Update changelog and version
2019-05-22 20:53:28 +02:00
Chris Morgan
1a9ab968fe
Allow manual specification of header IDs ( #685 )
...
Justification for this feature is added in the docs.
Precedent for the precise syntax: Hugo.
Hugo puts this syntax behind a preference named headerIds, and automatic
header ID generation behind a preference named autoHeaderIds, with both
enabled by default. I have not implemented a switch to disable this.
My suggestion for a workaround for the improbable case of desiring a
literal “{#…}” at the end of a header is to replace `}` with `}`.
The algorithm I have used is not identical to [that
which Hugo uses][0], because Hugo’s looks to work at the source level,
whereas here we work at the pulldown-cmark event level, which is
generally more sane, but potentially limiting for extremely esoteric
IDs.
Practical differences in implementation from Hugo (based purely on
reading [blackfriday’s implementation][0], not actually trying it):
- I believe Hugo would treat `# Foo {#*bar*}` as a heading with text
“Foo” and ID `*bar*`, since it is working at the source level; whereas
this code turns it into a heading with HTML `Foo {#<em>bar</em>}`, as
it works at the pulldown-cmark event level and doesn’t go out of its
way to make that work (I’m not familiar with pulldown-cmark, but I get
the impression that you could make it work Hugo’s way on this point).
The difference should be negligible: only *very* esoteric hashes would
include magic Markdown characters.
- Hugo will automatically generate an ID for `{#}`, whereas what I’ve
coded here will yield a blank ID instead (which feels more correct to
me—`None` versus `Some("")`, and all that).
In practice the results should be identical.
Fixes #433 .
[0]: a477dd1646/block.go (L218-L234)
2019-05-20 13:08:49 -07:00
Björn Lindström
8491110c4b
Elaboration and imrovement in docs on paging ( #692 )
...
Added and clarified a few things that would probably have saved me from
raising getzola/zola#691 .
2019-05-20 02:30:41 -07:00
Vincent Prouillet
290029aeed
Fix a bit the pagination template doc
2019-05-18 17:55:10 -07:00
Vincent Prouillet
e21a102f89
Merge branch 'master' into next
2019-05-15 21:42:51 -07:00
Vincent Prouillet
a1a40574f6
Build syntax dumps
2019-05-14 08:52:12 -07:00
Vincent Prouillet
7337b38b96
Netlify support is back!
2019-05-09 09:23:17 -07:00
toidiu
5ae75033ac
bump version in deployment docs ( #680 )
...
* bump version in deployment docs
2019-05-07 16:17:47 +02:00
Vincent Prouillet
b29596c3cc
Mention the 404 page does not get current_path/current_url
...
Close #586
2019-05-01 23:06:05 +02:00
Vincent Prouillet
986437546c
Merge pull request #644 from getzola/next
...
v0.7.0
2019-04-28 10:41:12 +02:00
Vincent Prouillet
debe0633bc
Revert "Allow default base-path command line option to be set for building and serving"
...
This reverts commit 1815155c1d
.
2019-04-20 12:50:34 +02:00
Wesley Moore
d4a33d34ae
Add some missing words to creating a theme page
2019-04-18 07:49:17 +10:00
Sven Thiele
47c02b50b3
Update netlify.md
2019-04-05 09:35:56 +02:00
Sven Thiele
28bf071b89
Update gitlab-pages.md
2019-04-05 09:34:40 +02:00
Sven Thiele
61c6d14ffb
update zola version to v0.6.0
2019-04-05 09:31:48 +02:00
Pandark
34c18e4cbb
use travis "minimal" vm in the documentation
...
If not specified, Travis use a system with ruby, which we don't need. We can use the "minimal" one instead.
2019-03-28 14:02:52 +01:00
Vincent Prouillet
33d4cf14fd
Update table-of-contents.md
2019-03-26 12:32:48 +01:00
Vincent Prouillet
78c8f9cd59
Add note about Powershell ISE
...
Closes #530
2019-03-25 23:17:37 +01:00
Vincent Prouillet
50caf1c90c
Fix typo in docs
...
Closes #636
2019-03-25 23:15:53 +01:00
Vincent Prouillet
5d695d7ce8
Merge pull request #567 from getzola/next
...
v.0.6.0
2019-03-25 20:26:07 +01:00
Blake Smith
1815155c1d
Allow default base-path command line option to be set for building and serving
2019-03-23 20:25:56 -05:00
Vincent Prouillet
2a8d0de532
Pass extra for page in sitemap entries
2019-03-19 20:42:16 +01:00
Vincent Prouillet
c63b7fde44
load_data now defaults to plain type + fix bug with get_taxonomy fn
2019-03-16 10:01:11 +01:00
Vincent Prouillet
7baf08cef2
Update docs for sitemap
2019-03-14 21:15:01 +01:00
Vincent Prouillet
67ddabfa8b
Fix doc mentioning non-existent fields on sections
2019-02-27 17:59:09 +01:00
Jordan Shurmer
bf1fd1a086
Fix minor documentation quirks in templates/overview
2019-02-27 08:54:09 -05:00
Vincent Prouillet
52cdffdfd4
Add PowerShell syntax
...
Fix #613
2019-02-25 18:11:30 +01:00
Eli Flanagan
ce0f0ec935
use nix-shell to build on nixos
...
Fix #616 . Add brief documentation for how to use it.
2019-02-19 19:23:27 -05:00
Vincent Prouillet
723729b6d1
Merge branch 'master' into next
2019-02-16 15:49:19 +01:00
Vincent Prouillet
705a30aa8d
Move toc to be a rendering page/section variable level
2019-02-09 20:49:18 +01:00
Leonardo Schwarz
77aad07dc6
Revert "Update snap installation instructions"
...
This reverts commit 5fd7bf7e61
.
Apparently it is not just no longer necessary to use classic
confinement, but actually impossible, i.e. snap emits an error that the
zola snap is not compatible with `--classic`.
2019-02-05 11:09:18 +01:00
Peng Guanwen
07843c116f
Fix format mistake
2019-02-03 21:46:07 +08:00
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
2019-01-29 19:20:11 +01:00
Shaleen Jain
3375e7a8f1
doc: add a Github Action to deploy to Github Pages
2019-01-23 13:43:29 +05:30
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
2019-01-21 17:55:05 +01:00
Vincent Prouillet
1b4cfd49d0
More early tera fns and mention limitation of shortcodes in docs
2019-01-17 18:29:18 +01:00
Ryan McGrath
0bcc706a55
One more time, Dracula theme, lol
2019-01-15 14:20:47 -08:00
Vincent Prouillet
538866487b
Add multilingual taxonomies
2019-01-07 21:03:34 +01:00
Vincent Prouillet
cae9223ebd
Mention that serve deletes the public dir as well
2019-01-07 19:24:08 +01:00
Vincent Prouillet
3d9c27e095
Tweak to docs to mention the paragraph id for continue-reading
2019-01-07 19:21:55 +01:00
Vincent Prouillet
0f0304d7ed
Mention build rm the directory
2019-01-05 11:04:12 +01:00
Noumir.Poutipou
ee8087fe69
Correct a typo in the theme documentation
2019-01-04 22:00:58 +01:00
Vincent Prouillet
19075191ff
Add translations to page/sections
2019-01-04 20:31:31 +01:00
Vincent Prouillet
fdb6a2864c
Merge pull request #566 from vojtechkral/imgproc
...
Implement suggestions in #546
2018-12-30 12:44:48 +01:00
Vincent Prouillet
288917b42d
Pest now requires 1.31
2018-12-29 11:38:28 +01:00
Vincent Prouillet
779511ae43
Pass down lang and start docs
2018-12-28 13:24:49 +01:00
Vojtech Kral
5348e6452e
docs: Update image processing
2018-12-28 01:41:22 +01:00
Vincent Prouillet
4fb88a4056
Mention colon not allowed in filenames on windows
2018-12-18 19:46:25 +01:00
Luke Peterson
825152242d
Remove redundant "From Source" documentation
2018-12-15 08:35:09 -08:00
Vincent Prouillet
5eebbc68de
Merge branch 'master' into next
2018-12-14 17:35:50 +01:00
Vincent Prouillet
f193152c85
Looks like it needs 1.30?
2018-12-14 17:35:18 +01:00
Bob "Wombat" Hogg
d8693ef1f8
Mark required Rust version as 1.29
...
690b3f9
updated the required version in Cargo.lock and in the CI config files, but not in the installation instructions.
2018-12-11 10:58:53 -08:00
Vincent Prouillet
83fc3867ab
Add Dart syntax highlighting
2018-12-04 19:00:18 +01:00
Matteo Guglielmetti
d4487381ff
Fixed name in Image Processing page
2018-12-03 17:31:53 +01:00
Vincent Prouillet
fb4c562088
Removing gutenberg completely from installation instructions
2018-11-30 22:23:18 +01:00
Vincent Prouillet
814cec99e2
Allow RFC3339 datetimes in filenames
...
Closes #537
2018-11-30 22:21:00 +01:00
Igor Kapkov
a6ec2b65c7
Update brew docs
2018-11-30 19:37:14 +11:00
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
...
Closes #533
2018-11-29 20:24:46 +01:00
Bob "Wombat" Hogg
5fd7bf7e61
Update snap installation instructions
...
If you don't install with classic confinement, you'll get permission errors trying to create sites with `zola init`.
2018-11-28 22:16:40 -07:00
Andreas Reiser
644e53a3fd
Extract zola version to a variable
2018-11-22 19:25:34 +01:00
Andreas Reiser
a07611d998
Add instructions on how to deploy to GitLab pages
2018-11-22 17:55:46 +01:00
Vincent Prouillet
34da6fdffd
yaourt -> yay
2018-11-19 17:27:15 +01:00
Chris
cec89dea94
Fixed wrong heading
...
Changed arch linux from h2 to h3
2018-11-19 16:36:07 +01:00
Chris
a1aa7cb4c5
Updated install instructions
...
I updated the install instructions (snap, scoop, chocolatey) and added the ones where Gutenberg already got renamed to Zola also to the top of the document.
Should yaourt be replaced by one of the other aur-helpers (pikaur, yay,...) as the development for it is stalled/discontinued for quite some time now although it is still working?
Scoop: https://github.com/lukesampson/scoop/blob/master/bucket/zola.json
Chocolatey: https://chocolatey.org/packages/zola
Snap: https://snapcraft.io/zola
2018-11-19 16:34:39 +01:00
Sean Leather
93696bf4a4
Fix typo
2018-11-19 13:04:29 +02:00
Sean Leather
ed570627cf
Fix typo (missing 's')
2018-11-19 13:02:19 +02:00
Vincent Prouillet
29b8dffe27
Update docs for install/netlify deploy for zola/gutenberg
2018-11-12 19:58:46 +01:00
Vincent Prouillet
39bcbd70d0
Merge pull request #517 from gsomix/patch-1
...
Add info about chocolatey package
2018-11-12 14:24:05 +01:00
Evgeniy Andreev
070280021d
Add info about chocolatey package
2018-11-12 12:20:37 +04:00
Vincent Prouillet
7e4be8c126
Update syntaxes
2018-11-11 12:06:55 +01:00
Vincent Prouillet
1d97b24898
Merge branch 'master' into next
2018-11-07 19:45:03 +01:00
Vincent Prouillet
56af4ca7f9
Add page_template to sections
...
To override all child pages
Closes #397
Tests from PR #434
2018-11-07 19:42:23 +01:00
Vincent Prouillet
a3b0f1e103
Add transparent sections
...
Closes #413
Closes #408
2018-11-06 00:46:13 +01:00
Jake Howard
fef522bb29
Add links to tera documentation for filters and functions
...
Fixes https://github.com/Keats/gutenberg/issues/510 . Well, should help with it.
2018-11-02 14:45:51 +00:00
Robert Masen
43cac703a3
add --watch-only to docs
2018-11-01 17:36:47 -05:00
Vincent Prouillet
c05f7c8362
Merge branch 'master' into next
2018-10-31 08:41:20 +01:00
Jake Howard
aad12d829f
Remote data ( #494 )
2018-10-29 20:13:09 +01:00
Vincent Prouillet
9c66f77b05
Add manual download to netlify docs
2018-10-29 13:04:12 +01:00
Vincent Prouillet
8a6d3d42ec
Add ayu highlighting theme
2018-10-26 20:04:56 +02:00
Vincent Prouillet
db4def63dc
Set date from filename
...
Fix #396
2018-10-25 16:22:02 +02:00
Vincent Prouillet
f64e65ce7e
Clarify redirect_to in docs
...
Fix #490
2018-10-19 12:14:20 +02:00
Vincent Prouillet
0101e5cb12
Update docs to refer to zola
2018-10-18 23:11:36 +02:00
Vincent Prouillet
83b04a561c
Expose relative path of pages & sections
...
Closes #485
2018-10-18 18:00:40 +02:00
Luke Frisken
1baa7750f3
CSV and TOML loading global functions ( #379 )
...
Local CSV/TOML/JSON loading Tera function
2018-10-18 17:32:30 +02:00
Vincent Prouillet
86c418372f
Add metadata_only to get_section
2018-10-18 16:49:33 +02:00
Vincent Prouillet
957c6bed9d
Have a list of ancestors instead of only parent section
2018-10-18 15:54:51 +02:00
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
...
Close #446
Close #260
Close #478
Close #284
Close #480
2018-10-15 22:28:27 +02:00
Vincent Prouillet
7ef4acbfbc
Bundle the F# syntax
2018-10-15 11:56:03 +02:00
Vincent Prouillet
f920b873b8
Clarify where to use shortcodes
2018-10-13 11:15:19 +02:00
Vincent Prouillet
6b1c499f64
Add Reason syntax highlighting
2018-10-12 12:19:31 +02:00
Elias Roa
dd13f30a41
Minor documentation typo fixes
2018-10-10 15:21:58 -06:00
Chris Krycho
56c5036abc
Allow inclusion of all items in RSS feeds.
...
Switch to an `Option<usize>` for the serialized value of `rss_items`.
This lets us just set a blank value in the configuration and thereby
include *all* items.
This is a backwards-compatible change; it does not affect the behavior
of existing configurations.
Fixes #468 . Closes #471 .
2018-10-09 20:20:09 -06:00
Vincent Prouillet
0ce3a0f070
Merge pull request #459 from Keats/database
...
Slotmap refactor
2018-10-09 11:30:49 +02:00
Vincent Prouillet
5be4b822f9
Link to list of themes from themes docs
2018-10-08 13:08:41 +02:00
Jonathan Watt
4c96f2ec17
Fix the spelling of "macOS"
2018-10-07 18:17:33 +01:00
Vincent Prouillet
6843ec5c9c
Rebuild more things now that it is more performant to do so
...
Fix #122
2018-10-06 13:52:40 +02:00
Greizgh
fec58054b4
Inject config in robots.txt context
...
This allow to use base_url in robots.txt, to reference a sitemap for
example.
2018-10-02 08:15:26 +02:00
Vincent Prouillet
e1aaed3c04
Remove paginator.pagers
2018-09-30 23:49:32 +02:00
Vincent Prouillet
f66a9425d2
Mention a paginated section doesnt get its pages
2018-09-29 11:15:50 +02:00
Greizgh
b8233af2c4
Allow to disable colors through env vars
...
- unless forced, only use colors in tty
- support CLICOLOR and NO_COLOR vars
- switch to termcolor crate to handle output coloring
2018-09-24 19:19:34 +02:00
Vincent Prouillet
cf5f22135f
Some more info on installation
2018-09-18 12:13:00 +02:00
Vincent Prouillet
98ed34ec49
Removed outdated bit in rss docs
2018-09-17 11:32:54 +02:00
Vincent Prouillet
62b89d0c72
_processed_images -> processed_images
2018-09-15 13:16:46 +02:00