Skip to content

Commit 092e666

Browse files
committed
Add RSS feed link icon to homepage
1 parent 8a7e766 commit 092e666

4 files changed

Lines changed: 36 additions & 1 deletion

File tree

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,33 @@ SOFTWARE.
2222

2323
---
2424

25+
This project uses Heroicons (https://heroicons.com),
26+
which is licensed under the MIT License:
27+
28+
MIT License
29+
30+
Copyright (c) Tailwind Labs, Inc.
31+
32+
Permission is hereby granted, free of charge, to any person obtaining a copy
33+
of this software and associated documentation files (the "Software"), to deal
34+
in the Software without restriction, including without limitation the rights
35+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36+
copies of the Software, and to permit persons to whom the Software is
37+
furnished to do so, subject to the following conditions:
38+
39+
The above copyright notice and this permission notice shall be included in all
40+
copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48+
SOFTWARE.
49+
50+
---
51+
2552
This project uses the Serene theme (https://github.com/isunjn/serene),
2653
which is licensed under the MIT License:
2754

content/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ footer = true
77
name = "器楽的緩怠"
88
id = "lemonadern.dev"
99
bio = "fuzzy notes"
10-
links = []
10+
links = [
11+
{ name = "RSS", url = "/posts/feed.xml", icon = "rss" },
12+
]
1113
recent = true
1214
recent_max = 5
1315
recent_more_text = "more »"

static/icon/rss.svg

Lines changed: 2 additions & 0 deletions
Loading

templates/_head_extend.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@
290290
color: var(--text-color);
291291
}
292292
}
293+
294+
#links #right a[aria-label="RSS"] {
295+
opacity: 0.8;
296+
}
293297
</style>
294298

295299
<meta property="og:title" content="{% if page.title %}{{ page.title }} | {{ config.title }}{% elif section.title %}{{ section.title }} | {{ config.title }}{% else %}{{ config.title }}{% endif %}">

0 commit comments

Comments
 (0)