mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
Compatibility with newer Zola
This commit is contained in:
parent
8a129c1b36
commit
c0f032325c
4 changed files with 10 additions and 6 deletions
|
@ -11,12 +11,14 @@ compile_sass = true
|
||||||
generate_feed = true
|
generate_feed = true
|
||||||
feed_filename = "rss.xml"
|
feed_filename = "rss.xml"
|
||||||
|
|
||||||
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
|
build_search_index = false
|
||||||
|
|
||||||
|
[markdown]
|
||||||
# Whether to do syntax highlighting
|
# Whether to do syntax highlighting
|
||||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
smart_punctuation = true
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
|
||||||
build_search_index = false
|
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
author = "Wesley Moore"
|
author = "Wesley Moore"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link>{{ config.base_url }}</link>
|
<link>{{ config.base_url }}</link>
|
||||||
<description>{{ config.description }}</description>
|
<description>{{ config.description }}</description>
|
||||||
<generator>Zola</generator>
|
<generator>Zola</generator>
|
||||||
<language>{{ config.default_language }}</language>
|
<language>{{ lang }}</language>
|
||||||
<managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
|
<managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
|
||||||
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
|
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
|
||||||
<atom:link href="{{ feed_url }}" rel="self" type="application/rss+xml"/>
|
<atom:link href="{{ feed_url }}" rel="self" type="application/rss+xml"/>
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
<img src="{{ resize_image(path=image, width=width * 2, op="fit_width") }}" width="{{ width }}" alt="{{ alt }}" class="image-{{ float }}" />
|
{% set image = resize_image(path=image, width=width * 2, op="fit_width") %}
|
||||||
|
<img src="{{ image.url }}" width="{{ width }}" alt="{{ alt }}" class="image-{{ float }}" />
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
<img src="{{ resize_image(path=image, width=width, op="fit_width", quality=quality | default(value=75)) }}" alt="{{ alt }}" />
|
{% set image = resize_image(path=image, width=width, op="fit_width", quality=quality | default(value=75)) %}
|
||||||
|
<img src="{{ image.url }}" alt="{{ alt }}" />
|
||||||
|
|
Loading…
Reference in a new issue