summaryrefslogtreecommitdiff
path: root/themes/theme/layout/pages
diff options
context:
space:
mode:
authorsomhairle <[email protected]>2026-04-21 20:40:27 +0800
committerSomhairle H. Marisol <[email protected]>2026-05-24 17:24:57 +0800
commitad8f9f55ea79a4d587aecc69698808da82de3d62 (patch)
treed25c0db712e6f015d850627ff957edea44c64f94 /themes/theme/layout/pages
downloadblog-ad8f9f55ea79a4d587aecc69698808da82de3d62.tar.gz
二〇二六年四月二十一日
Diffstat (limited to 'themes/theme/layout/pages')
-rw-r--r--themes/theme/layout/pages/page_head.ejs14
-rw-r--r--themes/theme/layout/pages/profile.ejs21
2 files changed, 35 insertions, 0 deletions
diff --git a/themes/theme/layout/pages/page_head.ejs b/themes/theme/layout/pages/page_head.ejs
new file mode 100644
index 00000000..709fd55c
--- /dev/null
+++ b/themes/theme/layout/pages/page_head.ejs
@@ -0,0 +1,14 @@
+<div class="post-head">
+ <div class="post-info">
+ <div class="post-title">
+
+ <% if (page.title) {%>
+ <%= page.title %>
+ <% } else {%>
+ *Untitled
+ <% } %>
+
+ </div>
+ </div>
+ <div class="h-line-primary"></div>
+</div> \ No newline at end of file
diff --git a/themes/theme/layout/pages/profile.ejs b/themes/theme/layout/pages/profile.ejs
new file mode 100644
index 00000000..19f38a05
--- /dev/null
+++ b/themes/theme/layout/pages/profile.ejs
@@ -0,0 +1,21 @@
+<div class="profile">
+ <div class="profile-image">
+ <% if (theme.profile.image) {%>
+ <img src="<%= url_for(theme.profile.image)%>" alt="featured_image">
+ <% } %>
+ </div>
+ <div class="post-content profile-content">
+ <div class="profile-title">
+ <%=theme.profile.title%>
+ </div>
+ <div class="profile-body">
+ <%=theme.profile.body%>
+ </div>
+ <% Object.keys(theme.profile.links).forEach(key => { %>
+ <div class="profile-link">
+ <a href="<%= url_for(theme.profile.links[key])%>"><%=key%></a>
+ </div>
+ <% }); %>
+ </div>
+
+</div> \ No newline at end of file