Skip to content

Commit

Permalink
Add an RSS link to the pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jun 5, 2019
1 parent 959ad1d commit 13d040e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
16 changes: 15 additions & 1 deletion static/reader.css
Expand Up @@ -126,6 +126,20 @@ article header #index-link{
padding: 5px 5px 5px 85px;
}

article header #rss-link{
background: #0088EE;
color: #FFF;
padding: 0.1em;
text-decoration: none;
display: inline-block;
float: right;
font-size: 1.2em;
}

article header #rss-link:hover{
background: #0099FF;
}

/* Font stuff */
#article-body,#writer-body,#writer-body textarea,#generic-body{
text-align: justify;
Expand Down Expand Up @@ -536,4 +550,4 @@ article footer #move .next{
#article-body,#writer-body,#generic-body,article footer{
max-width: 1000px;
}
}
}
1 change: 1 addition & 0 deletions template/index.ctml
Expand Up @@ -24,6 +24,7 @@
<h1 lquery="(text title)">Reader</h1>
<span id="" lquery="(text description)">Description</span>
<a @href="reader/" id="index-link">Index</a>
<a @href="/api/reader/atom" id="rss-link" title="RSS/Atom feed for the blog entries.">RSS</a>
</div>
</header>
<section id="generic-body">
Expand Down
1 change: 1 addition & 0 deletions template/tagged.ctml
Expand Up @@ -16,6 +16,7 @@
<div>
<h1>Posts Tagged <span lquery="(text tag)">TAG</span></h1>
<a @href="reader/" id="index-link">Index</a>
<a @href="/api/reader/atom?tag={0} tag" id="rss-link" title="RSS/Atom feed for the blog entries of this tag.">RSS</a>
</div>
</header>
<section id="generic-body">
Expand Down

0 comments on commit 13d040e

Please sign in to comment.