mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
move blog to root so there's no redirect
This commit is contained in:
parent
e87a2106a3
commit
3d6d152674
@ -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/
|
- add humans.txt https://humanstxt.org/
|
||||||
- fix the OG tags so that https://cards-dev.twitter.com/validator works
|
- fix the OG tags so that https://cards-dev.twitter.com/validator works
|
||||||
- consider switching to using pandoc as a markdown renderer
|
- 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/
|
- setup webmentions https://aarongustafson.github.io/jekyll-webmention_io/
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
@ -27,4 +27,4 @@ whitelist:
|
|||||||
- flexible_include
|
- flexible_include
|
||||||
|
|
||||||
feed:
|
feed:
|
||||||
posts_limit: 20
|
posts_limit: 100
|
@ -1,5 +1,5 @@
|
|||||||
- name: Blog
|
- name: Blog
|
||||||
link: /blog/
|
link: /
|
||||||
- name: CV
|
- name: CV
|
||||||
link: /cv/
|
link: /cv/
|
||||||
- name: Thesis
|
- name: Thesis
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
title: Home
|
|
||||||
redirect_to: /blog
|
|
||||||
---
|
|
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
|
||||||
title: Blog
|
title: Blog
|
||||||
permalink: /blog/
|
layout: default
|
||||||
|
permalink: /
|
||||||
|
redirect_from:
|
||||||
|
- /blog/
|
||||||
---
|
---
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<article class="h-entry">
|
<article class="h-entry">
|
||||||
@ -10,4 +12,4 @@ permalink: /blog/
|
|||||||
<summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
|
<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>
|
<figure {% if post.hide_image %} style="display:none;" {% endif %} class="blogroll"><img class="u-photo" src = "{{post.image}}"></figure>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
Loading…
x
Reference in New Issue
Block a user