move blog to root so there's no redirect

This commit is contained in:
Tom 2023-08-15 09:50:56 +01:00
parent e87a2106a3
commit 3d6d152674
5 changed files with 7 additions and 10 deletions

View File

@ -7,7 +7,6 @@ You probably want to run ruby from a version manager like `chruby`, see [here](h
- add humans.txt https://humanstxt.org/
- fix the OG tags so that https://cards-dev.twitter.com/validator works
- consider switching to using pandoc as a markdown renderer
- switch so that the blog is served from the root instead of doing a redirect
- setup webmentions https://aarongustafson.github.io/jekyll-webmention_io/
## Notes

View File

@ -27,4 +27,4 @@ whitelist:
- flexible_include
feed:
posts_limit: 20
posts_limit: 100

View File

@ -1,5 +1,5 @@
- name: Blog
link: /blog/
link: /
- name: CV
link: /cv/
- name: Thesis

View File

@ -1,4 +0,0 @@
---
title: Home
redirect_to: /blog
---

View File

@ -1,7 +1,9 @@
---
layout: default
title: Blog
permalink: /blog/
layout: default
permalink: /
redirect_from:
- /blog/
---
{% for post in site.posts %}
<article class="h-entry">
@ -10,4 +12,4 @@ permalink: /blog/
<summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
<figure {% if post.hide_image %} style="display:none;" {% endif %} class="blogroll"><img class="u-photo" src = "{{post.image}}"></figure>
</article>
{% endfor %}
{% endfor %}