Skip to content

Commit

Permalink
Add digital garden link and reorganise
Browse files Browse the repository at this point in the history
  • Loading branch information
dar5hak committed Oct 6, 2024
1 parent 3eeef36 commit 546d975
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 89 deletions.
21 changes: 0 additions & 21 deletions content/blog/commute-transmute.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
+++
title = "Fixing the stupid defaults on macOS"
title = "Fixing the Stupid Defaults on macOS"
date = 2024-10-06
+++

## Why
Expand Down
65 changes: 0 additions & 65 deletions content/blog/metaconfirmation-bias.md

This file was deleted.

8 changes: 8 additions & 0 deletions content/digital-garden/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "Digital Garden"
description = "Timeless, growing, incomplete, personal notes by Darshak Parikh"
sort_by = "title"

[extra]
keywords = ["Darshak", "Parikh", "personal", "blog", "site", "posts"]
+++
5 changes: 5 additions & 0 deletions content/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"text": "blog",
"long": "Read my blog"
},
{
"url": "/digital-garden",
"text": "digital garden",
"long": "Visit my digital garden"
},
{
"url": "/projects",
"text": "projects",
Expand Down
8 changes: 6 additions & 2 deletions templates/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ <h1>{{ section.title }}</h1>
<section class="section-list">
{% for page in section.pages %}
<a href="{{ page.permalink }}" data-focusable {% if loop.first %}data-autofocus{% endif %}>{{ page.title }}</a>
<time datetime="{{ page.date }}">{{ page.date | date(format="%-d %b %Y") }}</time>
{% if page.date -%}
<time datetime="{{ page.date }}">{{ page.date | date(format="%-d %b %Y") }}</time>
{% else %}
<div></div>
{%- endif %}
{% endfor %}
</section>
</article>
</main>
{% endblock %}
{% endblock %}

0 comments on commit 546d975

Please sign in to comment.