Andrew Barchuk
2e6d996709
Fix a pair of Tera links ( #968 )
2020-03-11 07:59:54 +01:00
Damian Carrillo
1a3e91f5f4
Fixing a missing link to Tera Filters ( #966 )
...
The previous link results in a 404. This is the updated link.
2020-03-09 08:15:18 +01:00
Vincent Prouillet
782cc7d686
Fix some more merge conflicts
2020-02-02 17:50:36 -08:00
Philipp Oppermann
72373bea9b
Add path to TranslatedContent
( #863 )
...
* Add path to `TranslatedContent`
This makes it possible to retrieve the translated page through the `get_page` function.
* Use TranslatedContent::path field in test_site_i18n
Use it with the `get_page` function to get a reference to the page object.
2020-02-02 17:48:43 -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
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
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
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
Vincent Prouillet
b16d525134
Mention feed_url in docs
2019-09-16 11:46:17 +02:00
Vincent Prouillet
6a7e955ab0
Add lang to get_taxonomy & get_taxonomy_url
2019-08-15 22:14:53 +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
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
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
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
b29596c3cc
Mention the 404 page does not get current_path/current_url
...
Close #586
2019-05-01 23:06:05 +02: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
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
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
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
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
2019-01-21 17:55:05 +01:00
Vincent Prouillet
19075191ff
Add translations to page/sections
2019-01-04 20:31:31 +01:00
Vincent Prouillet
779511ae43
Pass down lang and start docs
2018-12-28 13:24:49 +01:00
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
...
Closes #533
2018-11-29 20:24:46 +01:00
Vincent Prouillet
1d97b24898
Merge branch 'master' into next
2018-11-07 19:45:03 +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
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
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
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
Vincent Prouillet
98ed34ec49
Removed outdated bit in rss docs
2018-09-17 11:32:54 +02:00
Vincent Prouillet
5ed489d4f2
Merge pull request #389 from Libbum/pagination
...
Update pagination for test_site posts
2018-09-02 21:34:16 +02:00
Joe Clay
005e1f00b6
Update page variable list for custom taxonomies
...
I love the new support for custom taxonomies! I got a little thrown off when updating my site, though, as the docs didn't specify how the page would expose the taxonomies to the template. Wasn't too hard to figure it out, but I figured I'd save the next person who tries it the effort :)
2018-08-12 13:09:46 +01:00
cmal
ec65d01a72
Add assets to Sections variables
2018-08-10 15:59:03 +02:00
Vincent Prouillet
84a3193e97
Last fixes
2018-08-03 19:47:39 +02:00
Vincent Prouillet
efddb24b95
We actually need get_taxonomy_url. Also update docs
2018-07-31 16:35:16 +02:00
Vincent Prouillet
9e3c66186b
Merge branch 'master' into next
2018-07-31 15:33:51 +02:00
Daniel Sockwell
554d50720c
Update templates/pages-sections.md
2018-07-29 16:53:42 -04:00
Vincent Prouillet
e83d76bf8a
Clarify taxonomies templates doc
2018-07-27 18:44:10 +02:00
Vincent Prouillet
f37b19db6a
Add archive docs
...
Fix #307
2018-07-17 17:58:59 +02:00
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
2018-07-16 10:54:05 +02:00
Daniel Sockwell
b563142fc0
Add index page
section to documentation ( #331 )
...
* Add `index page` section to documentation
The current documentation does not describe how to create a index page.
I initially found this confusing, because I expected an index page to be
a **page** rather than a section. Thus, I tried to access the page
content with `{{ page.content }}` and was very frustrated when I could
not.
This addition clarifies that the index page is **always** a section,
even if it does not have any sub-pages. This should also help people
who intend to use Gutenberg to build stand-alone webpages, rather than
blogs.
2018-07-16 08:49:26 +02:00
Daniel Sockwell
1431df623f
Edit docs to clarify RSS process
...
Add details to the templates/RSS page to clarify that the `rss.xml`
page is only generated if the `generate_rss = true` variable is set
in the site's `config.toml` page. This information is already present
in other parts of the documentation, but is not present in the RSS page,
which could be confusing.
2018-07-08 11:21:24 -04:00
Vincent Prouillet
735bb38bd7
Update docs for 404 and enable preserve-order of tera
2018-07-05 17:43:48 +02:00
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
2018-06-25 19:13:21 +02:00
Vincent Prouillet
8e8cdfeb7f
Add year, month and day to page context with a date
2018-06-25 18:06:25 +02:00
Vojtech Kral
77bc526008
imageproc: Fix naming, cleanup
2018-06-25 18:05:49 +02:00
Vojtech Kral
7c8d39fe9c
Docs for resize_image()
2018-06-25 18:05:04 +02:00
Vojtech Kral
6662014e55
Add image resizing support #225
2018-06-25 18:05:04 +02:00
Vincent Prouillet
b120754862
Update shortcode parsing and docs
2018-06-25 18:02:21 +02:00
Clar Charr
da3b0fcf0e
Use proper Unicode word count; fixes #304
2018-06-25 18:02:07 +02:00
Vincent Prouillet
3a2dab5974
Sort sitemap elements by permalink
...
Closes #257
2018-03-17 14:34:02 +01:00
Vincent Prouillet
54841b19bb
Merge pull request #220 from Keats/markdown-inline
...
Markdown inline
2018-02-02 17:29:16 +01:00
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
2018-01-29 18:40:12 +01:00
Vincent Prouillet
29ce510aa3
Add inline option of markdown filter
...
Fix #197
2018-01-26 16:22:38 +01:00
Vincent Prouillet
c165c17c2f
Merge pull request #175 from Keats/next
...
Next version
2018-01-25 14:33:53 +01:00
Vincent Prouillet
f3b1553a26
Update docs about trans
2018-01-16 13:57:31 +01:00
Vincent Prouillet
638d4d7bc3
Mention index.html for index page in docs
2017-11-26 11:34:18 +01:00
Vincent Prouillet
322d2f30fb
Add get_taxonomy_url global_fn
...
And fix bug with taxonomies urls
2017-11-26 10:07:34 +01:00
Carson Page
8759323a16
Add trailing_slash opt. to get_url ( #173 )
...
* Added inital trailing_slash impl
* Added simple test
* Updated docs website to use trailing_slash option
* Updated documentation to reflect new trailing_slash option
* Added combined cachebust and trailing_slash test
2017-11-26 10:07:34 +01:00
Vincent Prouillet
3040f00de2
Add docs for taxonomies
...
Close #167
2017-11-14 17:55:50 +01:00
Vincent Prouillet
560e467694
Add page.draft to docs
2017-11-01 14:53:28 +01:00
Vincent Prouillet
791fbe685b
Add page and section components
2017-10-31 16:41:31 +01:00
King Claudy
a6919d4b6d
Docs : Fix typo in Templates/Overview
2017-10-22 13:16:25 +02:00
Vincent Prouillet
f2a5c959c1
Redirect on templates and themes sections
2017-10-19 17:06:31 +02:00
Justus Perlwitz
7d13489555
Fix tera netlify link
2017-10-19 16:04:47 +02:00
Vincent Prouillet
bdcad38310
Finishing up site ( #131 )
...
* Finishing up site
* Make site a bit responsive
* Fix menu responsiveness
* Remove Fira Sans and revamp a bit text
* Update list of syntax and change output of syntax
* Add Rust mention
* Some doc tweaks
* Correct capitalization for GitHub
Correct capitalization for GitHub
* Some CSS tweaks
* More css tweaks + favicon
* Add link to my site
2017-10-19 13:48:50 +02:00
Vincent Prouillet
57b87aa50a
Add more docs pages
2017-10-01 12:51:43 +09:00
Vincent Prouillet
dee1dbe667
Working on site
...
And some tweaks as I write the docs
2017-09-29 15:37:58 +09:00