mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 04:42:47 +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
|
||||
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
|
||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||
highlight_code = true
|
||||
|
||||
# Whether to build a search index to be used later on by a JavaScript library
|
||||
build_search_index = false
|
||||
smart_punctuation = true
|
||||
|
||||
[extra]
|
||||
author = "Wesley Moore"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link>{{ config.base_url }}</link>
|
||||
<description>{{ config.description }}</description>
|
||||
<generator>Zola</generator>
|
||||
<language>{{ config.default_language }}</language>
|
||||
<language>{{ lang }}</language>
|
||||
<managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
|
||||
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
|
||||
<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