refacto: move articles to articles instead of blog
This commit is contained in:
parent
2a86c8bbf7
commit
88b009c1bb
6 changed files with 3 additions and 12 deletions
11
config.toml
11
config.toml
|
|
@ -1,16 +1,10 @@
|
||||||
# The URL the site will be built for
|
|
||||||
base_url = "https://blog.ungol.fr"
|
base_url = "https://blog.ungol.fr"
|
||||||
|
|
||||||
# Whether to automatically compile all Sass files in the sass directory
|
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
|
||||||
build_search_index = true
|
build_search_index = true
|
||||||
default_language = 'fr'
|
default_language = 'fr'
|
||||||
|
title = "Ungol"
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
# Whether to do syntax highlighting
|
|
||||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
highlight_theme = "css"
|
highlight_theme = "css"
|
||||||
highlight_themes_css = [
|
highlight_themes_css = [
|
||||||
|
|
@ -25,6 +19,3 @@ render_emoji = true
|
||||||
[slugify]
|
[slugify]
|
||||||
paths = "safe"
|
paths = "safe"
|
||||||
anchor = "safe"
|
anchor = "safe"
|
||||||
|
|
||||||
[extra]
|
|
||||||
# Put all your custom variables here
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Liste des articles"
|
title = "Articles"
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
template = "blog.html"
|
template = "blog.html"
|
||||||
page_template = "post.html"
|
page_template = "post.html"
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
This is my blog made with Zola.
|
This is my blog made with Zola.
|
||||||
</h1>
|
</h1>
|
||||||
<p><a href="{{ get_url(path='@/blog/_index.md') }}">Posts</a>.</p>
|
<p><a href="{{ get_url(path='@/articles/_index.md') }}">Posts</a>.</p>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue