Add changes
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
/public/
|
|
@ -14,4 +14,4 @@ highlight_code = false
|
|||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
# Put all your custom variables here
|
# Put all your custom variables here
|
||||||
name = { first = "john", last = "doe" }
|
#name = { first = "Allen", last = "Wolf" }
|
||||||
|
@ -289,3 +289,17 @@ body::-webkit-scrollbar {
|
|||||||
background-color: var(--light-purple);
|
background-color: var(--light-purple);
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#roles a {
|
||||||
|
color: var(--light-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card a {
|
||||||
|
color: var(--light-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
.white_filter {
|
||||||
|
-webkit-filter: brightness(0) invert(1);
|
||||||
|
filter: brightness(0) invert(1);
|
||||||
|
transition: filter 0.3s ease;
|
||||||
|
}
|
@ -20,8 +20,12 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
{% block content %}{% endblock -%}
|
{% block content %}{% endblock -%}
|
||||||
|
<!-- credits -->
|
||||||
|
<div class="card">Hayflow Theme by Cyril Marpaud, licensed under <a href="https://gitlab.com/cyril-marpaud/hayflow/-/blob/main/LICENSE">CC BY-SA 4.0</a></div>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
|
||||||
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
particlesJS.load('particles', '{{ config.base_url | safe }}/particles.json', null);
|
particlesJS.load('particles', '{{ config.base_url | safe }}/particles.json', null);
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,12 +1,34 @@
|
|||||||
{{ section.content | safe }}
|
{{ section.content | safe }}
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
{%- for page in section.pages %}
|
{%- for page in section.pages %}
|
||||||
<div>
|
{% set link = page.extra.link | default(value="") %}
|
||||||
<h2>{{ page.title }}</h2>
|
{%- if link != "" %}
|
||||||
{% for icon in page.extra.icons | default(value=[]) -%}
|
<a href="{{ link }}" style="text-decoration: none; color: inherit;">
|
||||||
<i class="{{ icon }} fa-3x"></i>
|
<div style="cursor: pointer; text-align: center;">
|
||||||
{%- endfor %}
|
{%- else %}
|
||||||
{{ page.content | safe }}
|
<div style="text-align: center;">
|
||||||
</div>
|
{%- endif %}
|
||||||
{%- endfor %}
|
<h2>{{ page.title }}</h2>
|
||||||
</div>
|
|
||||||
|
{# FontAwesome Icons #}
|
||||||
|
{% for icon in page.extra.icons | default(value=[]) -%}
|
||||||
|
<i class="{{ icon }} fa-4x" style="font-size: 50px; margin: auto;"></i>
|
||||||
|
{%- endfor %}
|
||||||
|
|
||||||
|
{# Image Icons #}
|
||||||
|
{% set img = page.extra.img | default(value="") %}
|
||||||
|
{% set img_class = page.extra.img_class | default(value="") %}
|
||||||
|
{% if img != "" %}
|
||||||
|
{% set width = page.extra.img_width | default(value="50") %}
|
||||||
|
{% set height = page.extra.img_height | default(value="50") %}
|
||||||
|
<img src="/images/{{ img }}" width={{ width }} height={{ height }} alt="{{ page.title }}"
|
||||||
|
style="margin: auto;" class={{ img_class }}>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ page.content | safe }}
|
||||||
|
</div>
|
||||||
|
{%- if link != "" %}
|
||||||
|
</a>
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
</div>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<div id="roles">
|
<div id="roles">
|
||||||
<p>
|
<p>
|
||||||
{%- for role in section.extra.roles %}
|
{%- for role in section.extra.roles %}
|
||||||
<span>{{ role }}</span><br>
|
<span>{{ role | safe }}</span><br>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -45,7 +45,7 @@
|
|||||||
<div id="links">
|
<div id="links">
|
||||||
<p>
|
<p>
|
||||||
{%- for link in config.extra.links %}
|
{%- for link in config.extra.links %}
|
||||||
<a aria-label="external link" href="{{ link.url }}"><i class="{{ link.icon }} fa-2x"></i></a>
|
<a aria-label="external link" href="{{ link.url }}" id="{{ link.id }}"><i class="{{ link.icon }} fa-2x"></i></a>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,9 +12,9 @@ demo = "https://cyril-marpaud.gitlab.io"
|
|||||||
# be merged with user data, some kind of prefix or nesting is preferable
|
# be merged with user data, some kind of prefix or nesting is preferable
|
||||||
# Use snake_casing to be consistent with the rest of Zola
|
# Use snake_casing to be consistent with the rest of Zola
|
||||||
[extra]
|
[extra]
|
||||||
name = { first = "John", last = "Doe" }
|
#name = { first = "Allen", last = "Wolf" }
|
||||||
|
|
||||||
# The theme author info: you!
|
# The theme author info: you!
|
||||||
[author]
|
[author]
|
||||||
name = "Cyril Marpaud"
|
name = "Allen Wolf"
|
||||||
homepage = "https://cyril-marpaud.gitlab.io"
|
homepage = "https://aaw3.dev"
|
||||||
|
Reference in New Issue
Block a user