~zethra/my-website

337f42f1009553f371b3ff4e055b5d50ed231619 — zethra 6 months ago 8cd4928
Added rss link to blog index

Signed-off-by: zethra <jediben97@gmail.com>
2 files changed, 11 insertions(+), 0 deletions(-)

M sass/main.scss
M templates/blog_index.html
M sass/main.scss => sass/main.scss +8 -0
@@ 104,6 104,14 @@ hr {
  }
}

#rss-link {
  width: 100%;
  display: flex;
  a {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .prompt {
    font-size: 6vw;

M templates/blog_index.html => templates/blog_index.html +3 -0
@@ 4,6 4,9 @@
{% block content %}

{% set section = get_section(path="blog/_index.md") %}
<aside id="rss-link">
    <a href="/rss.xml">RSS Feed</a>
</aside>
{% for post in section.pages %}
<h1><a href="{{ post.permalink }}">{{ post.title }}<span class="date"> - {{ post.date }}</span></a></h1>
{% endfor %}