aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/section.feeds.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/section.feeds.html')
-rw-r--r--themes/default/layouts/_default/section.feeds.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/section.feeds.html b/themes/default/layouts/_default/section.feeds.html
new file mode 100644
index 0000000..2845ea0
--- /dev/null
+++ b/themes/default/layouts/_default/section.feeds.html
@@ -0,0 +1,50 @@
+{{ define "styles" }}
+{{ $author := partial "author-user.html" . }}
+<style>
+ {{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
+
+ tab-bar a[href="{{ .Site.BaseURL }}/{{ $author }}/feeds/"] {
+ color: #111;
+ color: var(--foreground);
+ display: inherit;
+ font-weight: 700;
+ text-decoration-color: #014cc6;
+ text-decoration-color: var(--link);
+ text-decoration: underline;
+ }
+</style>
+{{ end }}
+
+{{ define "middle" }}
+
+ {{ partial "navigator-middle.html"
+ (dict
+ "Title" "Feeds"
+ "Subtitle" (partial "count-feeds.html" .)
+ "Icon" "arrow-left"
+ "IconLabel" "Back"
+ "Href" "/"
+ "Id" "back"
+ "Context" .
+ )
+ }}
+
+ {{ partial "profile.html" . }}
+
+ {{ range .Paginator.Pages }}
+ {{ .Render "summary" }}
+ {{ else }}
+ <footer>
+ <code>No feeds found!</code>
+ </footer>
+ {{ end }}
+
+ {{ partial "pagination.html" . }}
+
+ {{ $writeToFile := partial "function-generate-feeds" . }}
+
+{{ end }}
+
+{{ define "right" }}
+ {{- partial "navigator-right.html" . -}}
+{{ end }}