diff options
author | Alan Pearce | 2020-11-15 13:14:37 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-15 13:15:31 +0100 |
commit | 6385a5f78ce2ad7409811927b10fc2b62e427643 (patch) | |
tree | 557406eaea728d84f82e852ada8fd97199d1a709 | |
parent | 78096da0f478a0b11b77f365cedc855e7c680e14 (diff) | |
download | website-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.xz website-6385a5f78ce2ad7409811927b10fc2b62e427643.zip |
Extract theme from templates
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | themes/xmin/static/css/style.css (renamed from static/css/style.css) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/base.html (renamed from templates/base.html) | 0 | ||||
l--------- | themes/xmin/templates/categories/list.html (renamed from templates/categories/list.html) | 0 | ||||
l--------- | themes/xmin/templates/categories/single.html (renamed from templates/categories/single.html) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/index.html (renamed from templates/index.html) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/page.html (renamed from templates/page.html) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/section.html (renamed from templates/section.html) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/tags/list.html (renamed from templates/tags/list.html) | 0 | ||||
-rw-r--r-- | themes/xmin/templates/tags/single.html (renamed from templates/tags/single.html) | 0 | ||||
-rw-r--r-- | themes/xmin/theme.toml | 12 |
11 files changed, 14 insertions, 0 deletions
diff --git a/config.toml b/config.toml index b482d0a..6bf8108 100644 --- a/config.toml +++ b/config.toml | |||
@@ -9,6 +9,8 @@ generate_feed = true | |||
9 | highlight_code = true | 9 | highlight_code = true |
10 | highlight_theme = "ascetic-white" | 10 | highlight_theme = "ascetic-white" |
11 | 11 | ||
12 | theme = "xmin" | ||
13 | |||
12 | [[taxonomies]] | 14 | [[taxonomies]] |
13 | name = "tags" | 15 | name = "tags" |
14 | feed = true | 16 | feed = true |
diff --git a/static/css/style.css b/themes/xmin/static/css/style.css index e605297..e605297 100644 --- a/static/css/style.css +++ b/themes/xmin/static/css/style.css | |||
diff --git a/templates/base.html b/themes/xmin/templates/base.html index 6b99609..6b99609 100644 --- a/templates/base.html +++ b/themes/xmin/templates/base.html | |||
diff --git a/templates/categories/list.html b/themes/xmin/templates/categories/list.html index e0e4e08..e0e4e08 120000 --- a/templates/categories/list.html +++ b/themes/xmin/templates/categories/list.html | |||
diff --git a/templates/categories/single.html b/themes/xmin/templates/categories/single.html index 86f5e80..86f5e80 120000 --- a/templates/categories/single.html +++ b/themes/xmin/templates/categories/single.html | |||
diff --git a/templates/index.html b/themes/xmin/templates/index.html index 23ec4cd..23ec4cd 100644 --- a/templates/index.html +++ b/themes/xmin/templates/index.html | |||
diff --git a/templates/page.html b/themes/xmin/templates/page.html index f32a6fc..f32a6fc 100644 --- a/templates/page.html +++ b/themes/xmin/templates/page.html | |||
diff --git a/templates/section.html b/themes/xmin/templates/section.html index e61566f..e61566f 100644 --- a/templates/section.html +++ b/themes/xmin/templates/section.html | |||
diff --git a/templates/tags/list.html b/themes/xmin/templates/tags/list.html index ee60c39..ee60c39 100644 --- a/templates/tags/list.html +++ b/themes/xmin/templates/tags/list.html | |||
diff --git a/templates/tags/single.html b/themes/xmin/templates/tags/single.html index 25dde54..25dde54 100644 --- a/templates/tags/single.html +++ b/themes/xmin/templates/tags/single.html | |||
diff --git a/themes/xmin/theme.toml b/themes/xmin/theme.toml new file mode 100644 index 0000000..99884b9 --- /dev/null +++ b/themes/xmin/theme.toml | |||
@@ -0,0 +1,12 @@ | |||
1 | name = "xmin" | ||
2 | description = "XMin is a Hugo theme written by Yihui Xie in about four hours" | ||
3 | license = "MIT" | ||
4 | |||
5 | [author] | ||
6 | name = "Alan Pearce" | ||
7 | homepage = "https://www.alanpearce.eu" | ||
8 | |||
9 | [original] | ||
10 | author = "yihui" | ||
11 | homepage = "https://yihui.org" | ||
12 | repo = "https://github.com/yihui/hugo-xmin" \ No newline at end of file | ||