From f3395e29726577f578621d2bfa0c2bbfaca41172 Mon Sep 17 00:00:00 2001 From: Doge Date: Mon, 3 May 2021 08:46:18 +0800 Subject: Initial commit --- layout/_partial/footer.ejs | 0 layout/_partial/head.ejs | 26 ++++++++++++++++++++++++++ layout/_partial/header.ejs | 0 layout/_partial/scripts.ejs | 10 ++++++++++ layout/archive.ejs | 0 layout/index.ejs | 1 + layout/layout.ejs | 12 ++++++++++++ layout/page.ejs | 0 layout/post.ejs | 0 9 files changed, 49 insertions(+) create mode 100644 layout/_partial/footer.ejs create mode 100644 layout/_partial/head.ejs create mode 100644 layout/_partial/header.ejs create mode 100644 layout/_partial/scripts.ejs create mode 100644 layout/archive.ejs create mode 100644 layout/index.ejs create mode 100644 layout/layout.ejs create mode 100644 layout/page.ejs create mode 100644 layout/post.ejs (limited to 'layout') diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs new file mode 100644 index 0000000..e69de29 diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs new file mode 100644 index 0000000..6720df0 --- /dev/null +++ b/layout/_partial/head.ejs @@ -0,0 +1,26 @@ + + <%= title %> + + + + + + + + + + + + + + <%- favicon_tag(config.favicon) %> + + + + <% if (theme.podcast) { %> + + + <% } %> + + + \ No newline at end of file diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs new file mode 100644 index 0000000..e69de29 diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs new file mode 100644 index 0000000..a982f7d --- /dev/null +++ b/layout/_partial/scripts.ejs @@ -0,0 +1,10 @@ + +<% if (theme.lazyload) { %> + + +<% } %> \ No newline at end of file diff --git a/layout/archive.ejs b/layout/archive.ejs new file mode 100644 index 0000000..e69de29 diff --git a/layout/index.ejs b/layout/index.ejs new file mode 100644 index 0000000..5e1c309 --- /dev/null +++ b/layout/index.ejs @@ -0,0 +1 @@ +Hello World \ No newline at end of file diff --git a/layout/layout.ejs b/layout/layout.ejs new file mode 100644 index 0000000..4ae62cc --- /dev/null +++ b/layout/layout.ejs @@ -0,0 +1,12 @@ + + + <%- partial('_partial/head') %> + + <%- partial('_partial/header') %> +
+ <%- body %> +
+ <%- partial('partial/footer') %> + + <%- partial('_partial/scripts') %> + \ No newline at end of file diff --git a/layout/page.ejs b/layout/page.ejs new file mode 100644 index 0000000..e69de29 diff --git a/layout/post.ejs b/layout/post.ejs new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3