improvements2

This commit is contained in:
Edgar 2021-12-23 18:06:40 +01:00
parent 7d6fb5da08
commit 3bc49aa9b2
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85
3 changed files with 16 additions and 5 deletions

View file

@ -23,8 +23,8 @@
<p class="brand-title">Edgar Luque's Website</p>
<ul class="nav">
<li><a href="/">Blog</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="https://github.com/edg-l">Github</a></li>
<li><a href="/projects" title="Projects I created/contributed">Projects</a></li>
<li><a href="https://github.com/edg-l" title="My GitHub profile">GitHub</a></li>
<li><a href="/blog/atom.xml">RSS</a></li>
</ul>
</header>

View file

@ -1,9 +1,20 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock content %}
{% block seo %}
<meta name="description" content="{{ page.description }}" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:type" content="article" />
<meta property="twitter:title" content="{{ page.title }}" />
<meta property="twitter:description" content="{{ page.description }}" />
{% endblock %}
{% block content %}
<h1 class="title">
{{ page.title }}
</h1>
<p class="blog-date"><strong>{{ page.date }}</strong></p>
<p class="blog-date"><strong><time datetime="{{ page.date }}">{{ page.date }}</time></strong></p>
{{ page.content | safe }}
{% endblock content %}

View file

@ -11,8 +11,8 @@
<div class="posts">
{% for page in section.pages %}
<article class="post">
<span>{{ page.date }}: </span>
<a href="{{ page.permalink }}" >{{ page.title }}</a>
<span><time datetime="{{ page.date }}">{{ page.date }}</time>: </span>
<a href="{{ page.permalink }}" title="{{ page.description }}">{{ page.title }}</a>
</article>
{% endfor %}
</div>