Default stylesheet can be disabled, and we provide a default title
This commit is contained in:
parent
0727f521dd
commit
783f7e6abc
|
@ -8,7 +8,6 @@
|
|||
{% if generate_rss %}<link rel="alternate" type="application/rss+xml" href="{% if lang %}{{ widgets::i18n_url(path="rss.xml") }}{% else %}{{ get_url(path="rss.xml")}}{% endif %}">
|
||||
{% endif %}<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="{{ get_url(path="water." ~ config.extra.color ~ ".css") }}" type="text/css">
|
||||
<link rel="stylesheet" href="{{ get_url(path="style.css") }}" type="text/css">
|
||||
{%- for stylesheet in config.extra.stylesheets %}
|
||||
<link rel="stylesheet" href="{{ get_url(path=stylesheet) }}" type="text/css">
|
||||
{%- endfor %}
|
||||
|
|
|
@ -12,11 +12,15 @@ demo = "https://thunix.net/~southerntofu/themes/zola/water"
|
|||
# be merged with user data, some kind of prefix or nesting is preferable
|
||||
# Use snake_casing to be consistent with the rest of Zola
|
||||
[extra]
|
||||
# Base title for pages
|
||||
title = "water demo"
|
||||
# The default color scheme. Can be either light or dark.
|
||||
# Whichever one you choose, it is overriden if the browser supports it.
|
||||
color = "dark"
|
||||
# A list of additional stylesheets to load from the index template
|
||||
stylesheets = []
|
||||
# By default, some customizations are included as style.css
|
||||
# Just use stylesheets = [] to remove it entirely.
|
||||
stylesheets = [ "style.css" ]
|
||||
# Set the max-width for either "main" or "body". Defaults to "main",
|
||||
# switch to "body" for default water.css behavior
|
||||
max_width_for = "main" # Can be either main or body
|
||||
|
|
Loading…
Reference in New Issue