Skip to content

Commit

Permalink
Fixed the archive being removed oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottN13 committed Jul 26, 2024
1 parent baa189c commit 219604f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ description: "uhh yeah funny" # This will show up in places like twitter, linked
#googleplus_username: +username
#rss: rss

#########################################################################################
######### Nothing below needs to be changed (unless you know what you're doing) #########
#########################################################################################
theme: "minima"

theme: "minima" # it might break if you change it.

comments_repo: ScottN13/blog # comments/issues

Expand All @@ -39,6 +37,7 @@ titles_from_headings:

header_pages:
- redirect.html
- archive.html

defaults:
- scope:
Expand Down
21 changes: 21 additions & 0 deletions archive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: page
title: Blog Archive
---

<a href="/archive-date.html">Sort by date</a>

{% for tag in site.tags %}
<h3>{{- tag[0] -}}</h3>
<ul>
{%- for post in tag[1] %}
<li><a href="{{ post.url }}">{{ post.date | date: "%b %Y" }} - {{ post.title }}</a></li>
{%- endfor %}
</ul>
{%- endfor %}
<h3>Personal</h3>
<ul>
{%- for post in site.personal %}
<li><a href="{{ post.url }}">{{ post.date | date: "%b %Y" }} - {{ post.title }}</a></li>
{%- endfor %}
</ul>

0 comments on commit 219604f

Please sign in to comment.