From f3395e29726577f578621d2bfa0c2bbfaca41172 Mon Sep 17 00:00:00 2001 From: Doge Date: Mon, 3 May 2021 08:46:18 +0800 Subject: Initial commit --- .DS_Store | Bin 0 -> 6148 bytes .gitattributes | 2 ++ _config.yml | 2 ++ 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 readme.md | 11 +++++++++++ 13 files changed, 64 insertions(+) create mode 100644 .DS_Store create mode 100644 .gitattributes create mode 100644 _config.yml 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 create mode 100644 readme.md diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..73f67c2 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..665402d --- /dev/null +++ b/_config.yml @@ -0,0 +1,2 @@ +podcast: true +lazyload: true \ No newline at end of file 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 diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b530aae --- /dev/null +++ b/readme.md @@ -0,0 +1,11 @@ +# Theme Chromate + +The Chromate theme is a new Hexo theme that has good support for Podcasts. + +It has the following feature: +- Lightweight: There are no redundant setting items, no references to a large number of third-party libraries, which ensures that it can be loaded and displayed as soon as possible. +- Responsive: The theme is built on the Bulma CSS framework, which ensures that it can be displayed normally and beautifully on most devices. +- Support for Podcasts: Without too much configuration, you can easily publish a Podcast. +- Dark mode support: Dark mode browsing on most browsers/operating systems. + +It is still under development. -- cgit v1.2.3