Fix mastodon verification

This commit is contained in:
Konstantin 2024-03-28 06:52:36 +01:00
parent f0e5a40993
commit 686a88bdd4
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ help:
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build: build:
@docker build -t code.headbright.be/konstantin/iamkonstantin:1.0.21 . @docker build -t code.headbright.be/konstantin/iamkonstantin:1.0.23 .
publish: publish:
@docker push code.headbright.be/konstantin/iamkonstantin:1.0.21 @docker push code.headbright.be/konstantin/iamkonstantin:1.0.23

View file

@ -30,7 +30,7 @@ class RssBlogFeed(Feed):
return item.full_url return item.full_url
def item_pubdate(self, item): def item_pubdate(self, item):
return datetime.combine(item.date, time()) return item.first_published_at
def item_author_name(self, item): def item_author_name(self, item):
author = item.authors.first() author = item.authors.first()

View file

@ -8,7 +8,7 @@
{% if linkedin_url or github_url or mastodon_url %} {% if linkedin_url or github_url or mastodon_url %}
<ul class="flex space-x-8"> <ul class="flex space-x-8">
{% if mastodon_url %} {% if mastodon_url %}
<li><a href="{{ mastodon_url }}"><span class="emoji">🐘</span> Mastodon</a></li> <li><a href="{{ mastodon_url }}" rel="me"><span class="emoji">🐘</span> Mastodon</a></li>
{% endif %} {% endif %}
{% if github_url %} {% if github_url %}
<li><a href="{{ github_url }}"><span class="emoji">🔬</span> GitHub</a></li> <li><a href="{{ github_url }}"><span class="emoji">🔬</span> GitHub</a></li>