removed development options from cargo.toml

This commit is contained in:
Robert Clarke 2019-05-06 00:58:02 +00:00
parent 5cec8e5466
commit 7504ab47b0
3 changed files with 5 additions and 15 deletions

View file

@ -3,12 +3,3 @@ base_url = "https://example.com"
# Whether to automatically compile all Sass files in the sass directory # Whether to automatically compile all Sass files in the sass directory
compile_sass = true compile_sass = true
build_search_index = true
[extra]
zulma_title = "Blog"
zulma_brand = { image = "$BASE_URL/images/bulma.png", text = "Home" }
zulma_theme = "darkly"
zulma_themes = ["default", "darkly", "flatly", "pulse", "simplex"]
zulma_allow_theme_selection = true

View file

@ -16,10 +16,6 @@
{% block title %}{{ config.title }}{% endblock title %} {% block title %}{{ config.title }}{% endblock title %}
</title> </title>
{% for theme in config.extra.zulma_themes %}
<link rel="preload" as="style" href="{{ get_url(path=theme ~ ".css", trailing_slash=false) }}" />
{% endfor %}
{% block css %} {% block css %}
{{ index_macros::css() }} {{ index_macros::css() }}
{% endblock css %} {% endblock css %}

View file

@ -2,3 +2,6 @@ name = "Zulma"
description = "A zola theme based off bulma.css" description = "A zola theme based off bulma.css"
license = "MIT" license = "MIT"
min_version = "0.6.0" min_version = "0.6.0"
[extra]
zulma_themes = ["default", "darkly", "flatly", "pulse", "simplex"]