clean up
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-05-17 07:31:31 +02:00
parent 253b2fb05a
commit 78f5e31764
No known key found for this signature in database
GPG Key ID: BD711A37FE7DD77E
3 changed files with 23 additions and 13 deletions

View File

@ -1,6 +1,9 @@
- title: Inicio
url: /
- title: Código fuente
url: https://sergio.am/code/sergio.am
- title: Sobre este sitio
url: /about/

View File

@ -1,5 +1,5 @@
<footer class="footer">
<span class="footer_item"><a href="/LICENSE">&copy; {{ site.time | date: "%Y" }} Sergio Álvarez</a> <a href="https://sergio.am/code/sergio.am">Código fuente y versionado</a></span>
<span class="footer_item"><a href="/LICENSE">&copy; Sergio Álvarez</a> <span title="Last build">🔨 {{ site.time | date: "%d %b %Y" }}</span></span>
</footer>
<script src="/assets/js/main.js" defer="defer"></script>

View File

@ -34,26 +34,33 @@ layout: compress
<article itemscope itemtype="https://schema.org/BlogPosting">
<header class="header">
{% if page.tags and page.tags != empty %}
<div class="tags">
{% assign tags = page.tags %}
<span itemprop="keywords">
{% for tag in tags %}
<a class="tag"
href="/tags/#{{tag | downcase | slugify}}">{{tag | upcase }}</a>{% unless forloop.last %},{% endunless %}
{% endfor %}
</span>
</div>
{% endif %}
<h1 class="header-title" itemprop="headline">{{ page.title | escape }}</h1>
{% if page.date %}
<div class="post-meta">
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: "%d %b %Y" }}
</time>
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span hidden itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">{{ site.author.name }}</span>
</span>
{% if page.tags and page.tags != empty %}
<!--
<small class="tags">
{% assign tags = page.tags %}
<span itemprop="keywords">
&lt;
{% for tag in tags %}
<a class="tag"
href="/tags/#{{tag | downcase | slugify}}">{{tag | upcase }}</a>{% unless forloop.last %},{% endunless %}
{% endfor %}
/&gt;
</span>
</small>
-->
{% endif %}
<time hidden datetime="{{ page.modified | date_to_xmlschema }}" itemprop="dateModified">
{{ page.date | date: "%b %d, %Y" }}
</time>