summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-07-01 17:01:45 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-07-01 17:01:45 +0900
commit516f632b84bc418486538a2183564fe94b89097e (patch)
tree56fed110e820d6520b39e550ccca31f00cae33ff /layouts/shortcodes
init
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/basic.html8
-rw-r--r--layouts/shortcodes/hl.html1
-rw-r--r--layouts/shortcodes/mail.html9
-rw-r--r--layouts/shortcodes/maintain.html4
-rw-r--r--layouts/shortcodes/services.html4
5 files changed, 26 insertions, 0 deletions
diff --git a/layouts/shortcodes/basic.html b/layouts/shortcodes/basic.html
new file mode 100644
index 0000000..b2df0d9
--- /dev/null
+++ b/layouts/shortcodes/basic.html
@@ -0,0 +1,8 @@
+<ol class=ll>
+{{range.Site.RegularPages.ByDate}}{{ if in .Params.tags "basic" }}<li>
+<a href="{{.Permalink}}">
+{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}
+<span class=title>{{.Title}}</span>
+{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span style="display:none">{{.Params.Tags}}</span>
+</li>{{ end }}{{ end }}
+</ol>
diff --git a/layouts/shortcodes/hl.html b/layouts/shortcodes/hl.html
new file mode 100644
index 0000000..de10914
--- /dev/null
+++ b/layouts/shortcodes/hl.html
@@ -0,0 +1 @@
+<mark>{{ .Inner }}</mark> \ No newline at end of file
diff --git a/layouts/shortcodes/mail.html b/layouts/shortcodes/mail.html
new file mode 100644
index 0000000..53cc3b9
--- /dev/null
+++ b/layouts/shortcodes/mail.html
@@ -0,0 +1,9 @@
+<ol class=ll>
+{{range.Site.RegularPages.ByWeight.Reverse}}{{ if in .Params.tags "mail" }}<li>
+<a href="{{.Permalink}}">
+{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}
+<span class=title>{{.Title}}</span>
+{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span style="display:none">{{.Params.Tags}}</span>
+</li>{{ end }}{{ end }}
+</ol>
+
diff --git a/layouts/shortcodes/maintain.html b/layouts/shortcodes/maintain.html
new file mode 100644
index 0000000..a864eab
--- /dev/null
+++ b/layouts/shortcodes/maintain.html
@@ -0,0 +1,4 @@
+<ul class=ll>
+{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "server" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li>
+{{ end }}{{ end }}
+</ul>
diff --git a/layouts/shortcodes/services.html b/layouts/shortcodes/services.html
new file mode 100644
index 0000000..877140d
--- /dev/null
+++ b/layouts/shortcodes/services.html
@@ -0,0 +1,4 @@
+<ul id=servicelist>
+{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "service" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li>
+{{ end }}{{ end }}
+</ul>