summaryrefslogtreecommitdiffhomepage
path: root/layouts
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-06-01 15:25:15 -0300
committerLeonardo Santiago <[email protected]>2024-06-01 15:25:15 -0300
commit735b245871d94cb6ace8913cd1370b02b5aeb28b (patch)
tree10d9e97d553a5059513a34a5f2b09ae8e9a0dab0 /layouts
parent31bc6a2f54d86a4978be063f5e614881c625c597 (diff)
remove old theme, use bearblog theme instead
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/custom_head.html17
-rw-r--r--layouts/partials/footer.html1
-rw-r--r--layouts/partials/nav.html7
3 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html
new file mode 100644
index 0000000..71cbf20
--- /dev/null
+++ b/layouts/partials/custom_head.html
@@ -0,0 +1,17 @@
+<style>
+ a {
+ color:#fa8c16;
+ text-decoration: none;
+ }
+ a:hover {
+ color:#d46b08;
+ text-decoration: dotted underline;
+ }
+ ul.blog-posts li a:visited {
+ color:#ffc069;
+ }
+ code {
+ color: black;
+ background-color: #ffc069;
+ }
+</style>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..a102ffa
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1 @@
+leonardo santiago | <a href="https://github.com/o-santi" title="github"><svg width="16px" height="16px" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"></path></svg></a> <a href="mailto:[email protected]" title="email"> <svg width="16px" height="16px" viewBox="0 0 1920 1920" fill="#fa8c16"><path d="M0 1694.235h1920V226H0v1468.235ZM112.941 376.664V338.94H1807.06v37.723L960 1111.233l-847.059-734.57ZM1807.06 526.198v950.513l-351.134-438.89-88.32 70.475 378.353 472.998H174.042l378.353-472.998-88.32-70.475-351.134 438.89V526.198L960 1260.768l847.059-734.57Z" fill-rule="evenodd"></path></svg></a>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..909fc98
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,7 @@
+<a href="{{ "" | relURL }}">home</a>
+{{ range .Site.Menus.main }}
+<a href="{{ .URL }}">{{ .Name }}</a>
+{{ end }}
+{{ with .Site.GetPage "/blog" }}
+<a href="{{ "blog" | relURL }}">blog</a>
+{{ end }}