Skip to content

Commit

Permalink
Nicer tags list
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Jun 7, 2024
1 parent 399c500 commit 2f5f70b
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 21 deletions.
6 changes: 6 additions & 0 deletions src/_includes/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
@import 'css/notes.css';

.TagCloud {
li {
display: inline;
}

a {
font-size: 1em;
}
}
4 changes: 3 additions & 1 deletion src/_includes/layouts/tagg.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ layout: layouts/main.njk

<main role="main">
<article>
<header class="mb3">
<header class="mb3 flex justify-between">
<h1 class="f5 fw5 mb0"><a class="muted" href="/tags">Tags</a> <span class="faint">/</span> <u>{{ tag }}</u></h1>

<p class="mb0 muted f5">{{ search.pages(tag) | length }} things</p>
</header>

<ul role="list">
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2022-01-23-11-50.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2022-01-23 11:50:58
location: On the run
tags:
- listening
- - music
---

the artist Meat Loaf died a few days ago. his album "Bat Out Of Hell" was the first album I recall
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2022-01-30-14-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2022-01-30 14:02:21
location: On the run
tags:
- listening
- music
---

Kyla La Grange has
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2022-02-02-17-51.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2022-02-02 17:51:48
location: My couch in Stockholm
tags:
- listening
- music
---

i love creating playlists. it's like the lost art of making mixtapes for yourself of somebody else.
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2022-05-03-19-37.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2022-05-03 19:37:08
location: On the run
tags:
- listening
- music
---

the musical experience which had most impact on me was one time in gothenburg, at a sleazy karaoke
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2023-04-11-19-58.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-04-11 19:58:39
location: Stockholm
tags:
- listening
- music
---

The minimalism of ["Open House"](https://open.spotify.com/track/6rQWcomd5gHKdALTXcGw66) by Lou Reed
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2023-08-23-09-06.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-08-23 09:06:04
location: On the run
tags:
- listening
- music
---

Today is a “The Smiths” day.
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2023-08-24-07-59.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-08-24 07:59:39
location: On the run
tags:
- listening
- music
---

Today is a “A Tribe Called Quest” day.
2 changes: 1 addition & 1 deletion src/notes/2023-09-14-14-29.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-09-14 14:29:14
location: My desk in Stockholm
tags:
- listening
- music
---

The album
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2023-11-18-09-09.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-11-18 09:09:38
location: My kitchen table in Stockholm
tags:
- listening
- music
---

The
Expand Down
2 changes: 1 addition & 1 deletion src/notes/2023-12-10-10-58.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 2023-12-10 10:58:33
location: My iOS shortcut
tags:
- listening
- music
---

Today is a Red Hot Chili Peppers day.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'The Beatles’ album covers redesigned'
link: 'http://www.flickr.com/photos/mantia/sets/72157625186912762/'
date: 2010-10-21
tags:
- listening
- music
- design
category: Design
slug: the-beatles-album-covers-redesigned
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Rolling Stones'' "Gimme Shelter" deconstructed'
link: 'http://www.dangerousminds.net/comments/deconstructing_gimme_shelter_listen/'
date: 2010-12-01
tags:
- listening
- music
category: Music
slug: rolling-stones-gimme-shelter-deconstructed
---
Expand Down
2 changes: 1 addition & 1 deletion src/posts/2012-02-06-songs-to-code-by.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Songs to code by'
date: 2012-02-06
tags:
- dev
- listening
- music
category: Music
slug: songs-to-code-by
---
Expand Down
2 changes: 1 addition & 1 deletion src/posts/2012-11-05-spotimood.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Spotimood
date: 2012-11-05
tags:
- dev
- listening
- music
category: Music
slug: spotimood
---
Expand Down
14 changes: 8 additions & 6 deletions src/tags.njk
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: All tags
layout: layouts/page.njk
---

<ol class="TagCloud">
{% for tag in search.values("tags") %}
<li><a href="/tags/{{ tag }}">{{ tag }}</a> {{ search.pages(tag) | length }}</li>
{% endfor %}
</ol>
<main role="main">
<h1 class="title">{{ title }}</h1>
<ol role="list" class="TagCloud">
{% for tag in search.values("tags") %}
<li><a class="btn" href="/tags/{{ tag }}">{{ tag }} ({{ search.pages(tag) | length }})</a></li>
{% endfor %}
</ol>
</main>

0 comments on commit 2f5f70b

Please sign in to comment.