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]
|
||||
# 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);
|
||||
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>
|
||||
{% 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="/js/main.js"></script>
|
||||
|
||||
<script>
|
||||
particlesJS.load('particles', '{{ config.base_url | safe }}/particles.json', null);
|
||||
</script>
|
||||
|
@ -1,12 +1,34 @@
|
||||
{{ section.content | safe }}
|
||||
<div class="columns">
|
||||
<div class="columns">
|
||||
{%- for page in section.pages %}
|
||||
<div>
|
||||
{% set link = page.extra.link | default(value="") %}
|
||||
{%- if link != "" %}
|
||||
<a href="{{ link }}" style="text-decoration: none; color: inherit;">
|
||||
<div style="cursor: pointer; text-align: center;">
|
||||
{%- else %}
|
||||
<div style="text-align: center;">
|
||||
{%- endif %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
|
||||
{# FontAwesome Icons #}
|
||||
{% for icon in page.extra.icons | default(value=[]) -%}
|
||||
<i class="{{ icon }} fa-3x"></i>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<div id="roles">
|
||||
<p>
|
||||
{%- for role in section.extra.roles %}
|
||||
<span>{{ role }}</span><br>
|
||||
<span>{{ role | safe }}</span><br>
|
||||
{%- endfor %}
|
||||
</p>
|
||||
</div>
|
||||
@ -45,7 +45,7 @@
|
||||
<div id="links">
|
||||
<p>
|
||||
{%- 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 %}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -12,9 +12,9 @@ demo = "https://cyril-marpaud.gitlab.io"
|
||||
# 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]
|
||||
name = { first = "John", last = "Doe" }
|
||||
#name = { first = "Allen", last = "Wolf" }
|
||||
|
||||
# The theme author info: you!
|
||||
[author]
|
||||
name = "Cyril Marpaud"
|
||||
homepage = "https://cyril-marpaud.gitlab.io"
|
||||
name = "Allen Wolf"
|
||||
homepage = "https://aaw3.dev"
|
||||
|
Reference in New Issue
Block a user