summaryrefslogtreecommitdiff
path: root/resources/views/list.blade.php
diff options
context:
space:
mode:
authorhorus2020-04-11 19:44:37 +0200
committerhorus2020-04-11 19:44:37 +0200
commit3afd5b2fd1f217f12ecad465449524fe93cacf09 (patch)
tree0e495bb39f3f2c27b7bd2a53b5ffb1daab06057c /resources/views/list.blade.php
parent6bb11edffaa0850f741022b608a4c032986b45c4 (diff)
downloadcurious-3afd5b2fd1f217f12ecad465449524fe93cacf09.tar.gz
Adds RSS- and Atom-Feeds.
Diffstat (limited to 'resources/views/list.blade.php')
-rw-r--r--resources/views/list.blade.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php
index 5a5949a..f47c28a 100644
--- a/resources/views/list.blade.php
+++ b/resources/views/list.blade.php
@@ -13,6 +13,15 @@ html {
vertical-align: -.125em;
fill: #ff6600;
}
+
+.rss-link > svg {
+ display: inline-block;
+ font-size: inherit;
+ height: 1em;
+ overflow: visible;
+ vertical-align: -.125em;
+ fill: #f59436;
+}
@endif
@endsection
@@ -64,6 +73,11 @@ html {
@if ( "1" != $articles->currentPage() )
(Page {{ $articles->currentPage() }})
@endif
+ <div class="float-right">
+ <a class="rss-link" href="{{ route('feed_' . Request::route()->getName()) }}" title="RSS-Feed">
+ {!! file_get_contents(public_path() . "/img/rss-square.svg") !!}
+ </a>
+ </div>
</h1>
@endif