From 950918b104cbee23f5d85169a47e6e57a185e4c3 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sun, 17 Jan 2021 17:22:22 -0800 Subject: [PATCH] Remove themes/, move its contents to repo root I've modified etch-custom so much that it doesn't need to be its own theme anymore. --- .../assets => assets}/css/dark.css | 0 .../assets => assets}/css/main.css | 0 .../assets => assets}/css/syntax.css | 0 config.toml | 1 - .../etch-custom/layouts => layouts}/404.html | 0 .../layouts => layouts}/_default/baseof.html | 0 .../layouts => layouts}/_default/list.html | 0 .../layouts => layouts}/_default/rss.xml | 0 .../layouts => layouts}/_default/single.html | 0 .../layouts => layouts}/index.html | 0 .../layouts => layouts}/partials/footer.html | 0 .../layouts => layouts}/partials/head.html | 0 .../layouts => layouts}/partials/header.html | 0 .../layouts => layouts}/partials/posts.html | 0 .../partials/processed-content.html | 0 .../layouts => layouts}/shortcodes/toc.html | 0 themes/etch-custom/.gitignore | 1 - themes/etch-custom/LICENSE | 20 ------------ themes/etch-custom/README.md | 32 ------------------- themes/etch-custom/archetypes/default.md | 2 -- themes/etch-custom/theme.toml | 12 ------- 21 files changed, 68 deletions(-) rename {themes/etch-custom/assets => assets}/css/dark.css (100%) rename {themes/etch-custom/assets => assets}/css/main.css (100%) rename {themes/etch-custom/assets => assets}/css/syntax.css (100%) rename {themes/etch-custom/layouts => layouts}/404.html (100%) rename {themes/etch-custom/layouts => layouts}/_default/baseof.html (100%) rename {themes/etch-custom/layouts => layouts}/_default/list.html (100%) rename {themes/etch-custom/layouts => layouts}/_default/rss.xml (100%) rename {themes/etch-custom/layouts => layouts}/_default/single.html (100%) rename {themes/etch-custom/layouts => layouts}/index.html (100%) rename {themes/etch-custom/layouts => layouts}/partials/footer.html (100%) rename {themes/etch-custom/layouts => layouts}/partials/head.html (100%) rename {themes/etch-custom/layouts => layouts}/partials/header.html (100%) rename {themes/etch-custom/layouts => layouts}/partials/posts.html (100%) rename {themes/etch-custom/layouts => layouts}/partials/processed-content.html (100%) rename {themes/etch-custom/layouts => layouts}/shortcodes/toc.html (100%) delete mode 100644 themes/etch-custom/.gitignore delete mode 100644 themes/etch-custom/LICENSE delete mode 100644 themes/etch-custom/README.md delete mode 100644 themes/etch-custom/archetypes/default.md delete mode 100644 themes/etch-custom/theme.toml diff --git a/themes/etch-custom/assets/css/dark.css b/assets/css/dark.css similarity index 100% rename from themes/etch-custom/assets/css/dark.css rename to assets/css/dark.css diff --git a/themes/etch-custom/assets/css/main.css b/assets/css/main.css similarity index 100% rename from themes/etch-custom/assets/css/main.css rename to assets/css/main.css diff --git a/themes/etch-custom/assets/css/syntax.css b/assets/css/syntax.css similarity index 100% rename from themes/etch-custom/assets/css/syntax.css rename to assets/css/syntax.css diff --git a/config.toml b/config.toml index dfac2b1..5f5dc00 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,6 @@ baseURL = "https://seirdy.one/" languageCode = "en-us" title = "Seirdy's Home" -theme = "etch-custom" enableInlineShortcodes = true enableGitInfo = true diff --git a/themes/etch-custom/layouts/404.html b/layouts/404.html similarity index 100% rename from themes/etch-custom/layouts/404.html rename to layouts/404.html diff --git a/themes/etch-custom/layouts/_default/baseof.html b/layouts/_default/baseof.html similarity index 100% rename from themes/etch-custom/layouts/_default/baseof.html rename to layouts/_default/baseof.html diff --git a/themes/etch-custom/layouts/_default/list.html b/layouts/_default/list.html similarity index 100% rename from themes/etch-custom/layouts/_default/list.html rename to layouts/_default/list.html diff --git a/themes/etch-custom/layouts/_default/rss.xml b/layouts/_default/rss.xml similarity index 100% rename from themes/etch-custom/layouts/_default/rss.xml rename to layouts/_default/rss.xml diff --git a/themes/etch-custom/layouts/_default/single.html b/layouts/_default/single.html similarity index 100% rename from themes/etch-custom/layouts/_default/single.html rename to layouts/_default/single.html diff --git a/themes/etch-custom/layouts/index.html b/layouts/index.html similarity index 100% rename from themes/etch-custom/layouts/index.html rename to layouts/index.html diff --git a/themes/etch-custom/layouts/partials/footer.html b/layouts/partials/footer.html similarity index 100% rename from themes/etch-custom/layouts/partials/footer.html rename to layouts/partials/footer.html diff --git a/themes/etch-custom/layouts/partials/head.html b/layouts/partials/head.html similarity index 100% rename from themes/etch-custom/layouts/partials/head.html rename to layouts/partials/head.html diff --git a/themes/etch-custom/layouts/partials/header.html b/layouts/partials/header.html similarity index 100% rename from themes/etch-custom/layouts/partials/header.html rename to layouts/partials/header.html diff --git a/themes/etch-custom/layouts/partials/posts.html b/layouts/partials/posts.html similarity index 100% rename from themes/etch-custom/layouts/partials/posts.html rename to layouts/partials/posts.html diff --git a/themes/etch-custom/layouts/partials/processed-content.html b/layouts/partials/processed-content.html similarity index 100% rename from themes/etch-custom/layouts/partials/processed-content.html rename to layouts/partials/processed-content.html diff --git a/themes/etch-custom/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html similarity index 100% rename from themes/etch-custom/layouts/shortcodes/toc.html rename to layouts/shortcodes/toc.html diff --git a/themes/etch-custom/.gitignore b/themes/etch-custom/.gitignore deleted file mode 100644 index e43b0f9..0000000 --- a/themes/etch-custom/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.DS_Store diff --git a/themes/etch-custom/LICENSE b/themes/etch-custom/LICENSE deleted file mode 100644 index 37209a9..0000000 --- a/themes/etch-custom/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2020 Lukas Joswiak - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/etch-custom/README.md b/themes/etch-custom/README.md deleted file mode 100644 index fb3c5fb..0000000 --- a/themes/etch-custom/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# Etch - -Etch is a simple, responsive theme for [Hugo](https://gohugo.io) with a focus on writing. A live demo is available at https://themes.gohugo.io/theme/etch/. - -screenshot - -## Features: - -* Homepage with list of posts. -* Support for pages. -* Responsive design for optimized mobile experience. -* Syntax highlighting with customizable theme. -* Dark theme which automatically adjusts based on users' setting ([example](https://github.com/LukasJoswiak/etch/wiki/Dark-mode)). -* No external dependencies, no JavaScript, no web fonts. - -## Installation - -To install `etch`, download the repository into the `themes` folder in the root of your site. - -``` -$ git submodule add https://github.com/LukasJoswiak/etch.git themes/etch -``` - -Then, use the theme to generate your site. - -``` -$ hugo server -t etch -``` - -Use the [sample configuration](https://github.com/LukasJoswiak/etch/wiki/Configuration#sample-configuration) as a starting point. See the [configuration](https://github.com/LukasJoswiak/etch/wiki/Configuration) page for more info. - -Read the [wiki](https://github.com/LukasJoswiak/etch/wiki) to learn about more options. diff --git a/themes/etch-custom/archetypes/default.md b/themes/etch-custom/archetypes/default.md deleted file mode 100644 index ac36e06..0000000 --- a/themes/etch-custom/archetypes/default.md +++ /dev/null @@ -1,2 +0,0 @@ -+++ -+++ diff --git a/themes/etch-custom/theme.toml b/themes/etch-custom/theme.toml deleted file mode 100644 index 6d6ec37..0000000 --- a/themes/etch-custom/theme.toml +++ /dev/null @@ -1,12 +0,0 @@ -name = "Etch" -license = "MIT" -licenselink = "https://github.com/LukasJoswiak/etch/blob/master/LICENSE" -description = "Lightweight Hugo theme with a focus on content" -homepage = "https://github.com/LukasJoswiak/etch" -tags = ["simple", "minimal", "clean", "fast", "blog", "responsive", "dark mode", "privacy"] -features = ["fast", "blog", "syntax highlighting", "dark mode"] -min_version = "0.41" - -[author] - name = "Lukas Joswiak" - homepage = "https://lukasjoswiak.com"