From dca685c79b587d17e13c5da51ef67aa2e71b891c Mon Sep 17 00:00:00 2001
From: Ariel Costas <94913521+arielcostas@users.noreply.github.com>
Date: Thu, 23 Nov 2023 23:24:28 +0100
Subject: Super basic start
---
layouts/_default/_markup/render-heading.html | 4 ++++
layouts/_default/baseof.html | 19 +++++++++++++++++++
layouts/_default/list.html | 3 +++
layouts/_default/list.md | 1 +
layouts/_default/single.html | 3 +++
layouts/blog/list.html | 11 +++++++++++
layouts/partials/footer.html | 12 ++++++++++++
layouts/partials/header.html | 1 +
8 files changed, 54 insertions(+)
create mode 100644 layouts/_default/_markup/render-heading.html
create mode 100644 layouts/_default/baseof.html
create mode 100644 layouts/_default/list.html
create mode 100644 layouts/_default/list.md
create mode 100644 layouts/_default/single.html
create mode 100644 layouts/blog/list.html
create mode 100644 layouts/partials/footer.html
create mode 100644 layouts/partials/header.html
(limited to 'layouts')
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html
new file mode 100644
index 0000000..6023eb1
--- /dev/null
+++ b/layouts/_default/_markup/render-heading.html
@@ -0,0 +1,4 @@
+
+ #
+ {{ .Text | safeHTML }}
+
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..a4c2f56
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ {{ .Page.Title }} - Ariel Costas
+
+
+
+ {{ partial "partials/header.html" . }}
+
+ {{ block "main" . }}
+ {{ end }}
+
+ {{ partial "partials/footer.html" . }}
+
+
+
\ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..c1339be
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}
diff --git a/layouts/_default/list.md b/layouts/_default/list.md
new file mode 100644
index 0000000..a4ec683
--- /dev/null
+++ b/layouts/_default/list.md
@@ -0,0 +1 @@
+{{ .Content|markdownify}}
\ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..c1339be
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
new file mode 100644
index 0000000..2cf4b0b
--- /dev/null
+++ b/layouts/blog/list.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+ {{- .Content }}
+
+
+{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..7c568ad
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,12 @@
+
+
+
\ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..13b2722
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1 @@
+CostasDEV
\ No newline at end of file
--
cgit v1.3