From f6d2fcd3f6ab21640ba8952380c4b466e6abe453 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 18 Aug 2025 10:18:31 -0700 Subject: [PATCH] updating templates to the ones from the dimension theme, no video support yet with this theming --- .gitmodules | 3 +++ service/templates/footer.html.tera | 5 +++++ service/templates/header.html.tera | 13 +++++++++++++ service/templates/index.html.tera | 31 ++++++++++++++++++++++++++++++ service/templates/video.html.tera | 12 +++++------- service/themes/dimension | 1 + 6 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 service/templates/footer.html.tera create mode 100644 service/templates/header.html.tera create mode 100644 service/templates/index.html.tera create mode 160000 service/themes/dimension diff --git a/.gitmodules b/.gitmodules index 418c091..8c56e3a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "gitpage/themes/dimension"] path = gitpage/themes/dimension url = https://gitlab.com/dspechnikov/dimension-hugo +[submodule "service/themes/dimension"] + path = service/themes/dimension + url = https://github.com/your-identity/hugo-theme-dimension.git diff --git a/service/templates/footer.html.tera b/service/templates/footer.html.tera new file mode 100644 index 0000000..f992486 --- /dev/null +++ b/service/templates/footer.html.tera @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/service/templates/header.html.tera b/service/templates/header.html.tera new file mode 100644 index 0000000..be2cdbe --- /dev/null +++ b/service/templates/header.html.tera @@ -0,0 +1,13 @@ + + + + Clippable + + + + + + \ No newline at end of file diff --git a/service/templates/index.html.tera b/service/templates/index.html.tera new file mode 100644 index 0000000..cd51eb7 --- /dev/null +++ b/service/templates/index.html.tera @@ -0,0 +1,31 @@ +{% include "header" %} + +
+ +
+
+

about section

+ +

asdfadf

+ +
+
+
+
+ +{% include "footer" %} \ No newline at end of file diff --git a/service/templates/video.html.tera b/service/templates/video.html.tera index 0784428..a440aaa 100644 --- a/service/templates/video.html.tera +++ b/service/templates/video.html.tera @@ -1,16 +1,14 @@ - - - +{% include "head" %} -
-

{{ title }}

+
{% if video %} -
\ No newline at end of file diff --git a/service/themes/dimension b/service/themes/dimension new file mode 160000 index 0000000..2474081 --- /dev/null +++ b/service/themes/dimension @@ -0,0 +1 @@ +Subproject commit 2474081b7846ce0e211c57b86ed84989548a777d