aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/media.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/media.html')
-rw-r--r--themes/default/layouts/_default/media.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/media.html b/themes/default/layouts/_default/media.html
new file mode 100644
index 0000000..8073928
--- /dev/null
+++ b/themes/default/layouts/_default/media.html
@@ -0,0 +1,40 @@
+{{ define "styles" }}
+{{ $author := partial "author-user.html" . }}
+<style>
+ {{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
+
+ tab-list a[href="/{{ $author }}/media/"] {
+ display: inherit;
+ font-weight: 700;
+ text-decoration: underline;
+ text-decoration-color: #014cc6;
+ text-decoration-color: var(--link);
+ }
+</style>
+{{ end }}
+
+{{ define "middle" }}
+
+ {{ partial "navigator-middle.html"
+ (dict
+ "Title" "Media"
+ "Subtitle" (partial "count-media.html" .)
+ "Icon" "arrow-left"
+ "IconLabel" "Back"
+ "Href" "/"
+ "Id" "back"
+ "Context" .
+ )
+ }}
+
+ {{ partial "profile.html" . }}
+
+ {{ partial "media-search.html" . }}
+
+ {{ partial "pagination.html" . }}
+
+{{ end }}
+
+{{ define "right" }}
+ {{- partial "navigator-right.html" . -}}
+{{ end }}