aboutsummaryrefslogtreecommitdiffstats
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
parent1f26e4981ecd89ace20d9e329a629fd63dfc269a (diff)
downloadaaoth.xyz-a546917f088f049e91aca075a222096dea83fb2b.tar.gz
aaoth.xyz-a546917f088f049e91aca075a222096dea83fb2b.zip
fix html errors
-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
-rw-r--r--_layouts/about-page.html6
-rw-r--r--_posts/2021-05-23-join-the-test-of-my-matrix-server.md2
6 files changed, 16 insertions, 18 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>
diff --git a/_layouts/about-page.html b/_layouts/about-page.html
index 78a5a73..bce5a55 100644
--- a/_layouts/about-page.html
+++ b/_layouts/about-page.html
@@ -5,7 +5,7 @@ layout: default
<div class="about">
<div class="about-sidebar">
<img id="avatar" alt="aaoth-photo"
- width=128px height=128px src="/assets/img/aaoth-photo.jpeg">
+ width="128" height="128" src="/assets/img/aaoth-photo.jpeg">
<div class="about-links">
<p>other links:</p>
<ul>
@@ -13,8 +13,8 @@ layout: default
{% for link in sorted_links %}
<li>
<a href="{{ link.link }}"
- {%- if link.rel -%}rel="{{ link.rel }}"{%- endif -%}>
- <img class= "link-icon" width=32px height=32px
+ {% if link.rel %}rel="{{ link.rel }}"{% endif %}>
+ <img class= "link-icon" width="32" height="32"
alt="{{ link.type }} logo"
src="/assets/img/{{ link.type }}-icon.png">
<div class="link-text">{{ link.name }}</div>
diff --git a/_posts/2021-05-23-join-the-test-of-my-matrix-server.md b/_posts/2021-05-23-join-the-test-of-my-matrix-server.md
index 12ec953..929e509 100644
--- a/_posts/2021-05-23-join-the-test-of-my-matrix-server.md
+++ b/_posts/2021-05-23-join-the-test-of-my-matrix-server.md
@@ -13,7 +13,7 @@ i also launched an instance of [element][2] matrix web-client on
[element.aaoth.xyz][3], so you can try it.
[0]:https://matrix.org
-[1]:https://matrix.org/docs/projects/server/synapse"
+[1]:https://matrix.org/docs/projects/server/synapse
[2]:https://element.io
[3]:https://element.aaoth.xyz