aboutsummaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-09-19 16:34:37 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-09-19 16:34:37 +0300
commita546917f088f049e91aca075a222096dea83fb2b (patch)
tree1615c42547dbd5c33c69703351b893462a7f8a5d /_includes
parent1f26e4981ecd89ace20d9e329a629fd63dfc269a (diff)
downloadaaoth.xyz-a546917f088f049e91aca075a222096dea83fb2b.tar.gz
aaoth.xyz-a546917f088f049e91aca075a222096dea83fb2b.zip
fix html errors
Diffstat (limited to '_includes')
-rw-r--r--_includes/art-menu.html3
-rw-r--r--_includes/footer.html14
-rw-r--r--_includes/navigation.html6
-rw-r--r--_includes/post-preview.html3
4 files changed, 12 insertions, 14 deletions
diff --git a/_includes/art-menu.html b/_includes/art-menu.html
index 01a455b..62151da 100644
--- a/_includes/art-menu.html
+++ b/_includes/art-menu.html
@@ -10,7 +10,8 @@
</span>
</a>
<div class="art-menu-item-img">
- <img src="{{ artthumbs | sample }}">
+ <img src="{{ artthumbs | sample }}"
+ alt="{{ page.title }} preview">
</div>
</li>
{% endif %}
diff --git a/_includes/footer.html b/_includes/footer.html
index e83385f..b8b4cf1 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -6,14 +6,14 @@
cc-by-sa-4.0
</a>
</p>
- <p>
<p>gpg key:
- <a href="/pgp.asc">
- 405C2C163EF6A2C9
- </a>
+ <a href="/pgp.asc">
+ 405C2C163EF6A2C9
+ </a>
</p>
- <a rel="site source" href="https://git.aaoth.xyz/aaoth.xyz.git/about">
- site source
- </a>
+ <p>
+ <a rel="site source" href="https://git.aaoth.xyz/aaoth.xyz.git/about">
+ site source
+ </a>
</p>
</footer>
diff --git a/_includes/navigation.html b/_includes/navigation.html
index 3615a1a..638b75e 100644
--- a/_includes/navigation.html
+++ b/_includes/navigation.html
@@ -1,13 +1,11 @@
<nav>
<img src="/assets/img/aaoth-logo.png" alt="aaoth website logo"
- width="376px" height="auto">
+ width="376">
<ul>
{%- for item in site.data.navigation -%}
<li>
<a href="{{ item.link }}"
- {%- if page.url == item.link -%}
- class="current"
- {%- endif -%}>
+ {% if page.url == item.link %}class="current"{% endif %}>
{{ item.name }}
</a>
</li>
diff --git a/_includes/post-preview.html b/_includes/post-preview.html
index 05cc4f1..aaa1d1b 100644
--- a/_includes/post-preview.html
+++ b/_includes/post-preview.html
@@ -7,9 +7,8 @@
<a href="{{ post.url }}">read more...</a>
</p>
<small>
- <p>{{ post.date | date_to_string }} /
+ {{ post.date | date_to_string }} /
{% for tag in post.tags %}<a href="/tags/{{tag}}">{{tag}} </a>
{% endfor %}
- </p>
</small>
</div>