Enable RSS autodiscovery. Add RSS icon into top right bar. #54

Merged
clan-bot merged 1 commits from Qubasa-main into main 2024-04-04 15:23:46 +00:00
3 changed files with 21 additions and 0 deletions

View File

@ -65,4 +65,8 @@ Connect with us on our [Matrix channel at clan.lol](https://matrix.to/#/!djzOHBB
Want to see the code? Check it out [on our Gitea](https://git.clan.lol/clan/clan-core) or [on GitHub](https://github.com/clan-lol/clan-core). Want to see the code? Check it out [on our Gitea](https://git.clan.lol/clan/clan-core) or [on GitHub](https://github.com/clan-lol/clan-core).
Or follow our RSS feed by clicking in the top right corner!
Join us and be part of changing technology for the better, together. Join us and be part of changing technology for the better, together.

View File

@ -29,6 +29,11 @@
{{ macros_head::favicons() }} {{ macros_head::favicons() }}
{% block math %}{{ macros_math::math() }}{% endblock math %} {% block math %}{{ macros_math::math() }}{% endblock math %}
{% block rss %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{% endblock %}
<link rel="stylesheet" type="text/css" href="{{ get_url(path='asciinema-player/asciinema-player.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ get_url(path='asciinema-player/asciinema-player.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ get_url(path='asciinema-player/custom-theme.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ get_url(path='asciinema-player/custom-theme.css') }}" />
</head> </head>

View File

@ -24,6 +24,18 @@
<a class="nav-link" href="https://github.com/aaranxu/adidoks"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg><span class="ms-2 visually-hidden">GitHub</span></a> <a class="nav-link" href="https://github.com/aaranxu/adidoks"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg><span class="ms-2 visually-hidden">GitHub</span></a>
</li> </li>
{% endif %} {% endif %}
<!-- RSS Symbol -->
<li class="nav-item">
<a class="nav-link" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss">
<path d="M4 11a9 9 0 0 1 9 9"></path>
<path d="M4 4a16 16 0 0 1 16 16"></path>
<circle cx="5" cy="19" r="1"></circle>
</svg>
<span class="ms-2 visually-hidden">RSS</span>
</a>
</li>
</ul> </ul>
<div class="collapse navbar-collapse order-4 order-md-1"> <div class="collapse navbar-collapse order-4 order-md-1">
<ul class="navbar-nav main-nav me-auto order-5 order-md-2"> <ul class="navbar-nav main-nav me-auto order-5 order-md-2">