From 627ef49a0324dce4809e52bc2f1df7c818cc7810 Mon Sep 17 00:00:00 2001 From: Marc Riera Irigoyen Date: Tue, 13 Mar 2018 14:11:10 +0100 Subject: [PATCH] Rename theme for release --- config.toml | 2 +- themes/crab/theme.toml | 8 -------- themes/{crab => dark-cosmos}/archetypes/default.md | 0 themes/{crab => dark-cosmos}/i18n/ca.toml | 0 themes/{crab => dark-cosmos}/i18n/en.toml | 0 themes/{crab => dark-cosmos}/i18n/es.toml | 0 themes/{crab => dark-cosmos}/layouts/404.html | 0 themes/{crab => dark-cosmos}/layouts/_default/list.html | 0 themes/{crab => dark-cosmos}/layouts/_default/single.html | 0 themes/{crab => dark-cosmos}/layouts/index.html | 0 themes/{crab => dark-cosmos}/layouts/partials/footer.html | 0 themes/{crab => dark-cosmos}/layouts/partials/header.html | 2 +- themes/{crab => dark-cosmos}/layouts/partials/menu.html | 0 .../layouts/partials/pagination.html | 0 themes/{crab => dark-cosmos}/layouts/partials/tags.html | 0 .../{crab => dark-cosmos}/layouts/shortcodes/summary.html | 0 .../css/crab.css => dark-cosmos/static/css/style.css} | 2 +- themes/dark-cosmos/theme.toml | 8 ++++++++ 18 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 themes/crab/theme.toml rename themes/{crab => dark-cosmos}/archetypes/default.md (100%) rename themes/{crab => dark-cosmos}/i18n/ca.toml (100%) rename themes/{crab => dark-cosmos}/i18n/en.toml (100%) rename themes/{crab => dark-cosmos}/i18n/es.toml (100%) rename themes/{crab => dark-cosmos}/layouts/404.html (100%) rename themes/{crab => dark-cosmos}/layouts/_default/list.html (100%) rename themes/{crab => dark-cosmos}/layouts/_default/single.html (100%) rename themes/{crab => dark-cosmos}/layouts/index.html (100%) rename themes/{crab => dark-cosmos}/layouts/partials/footer.html (100%) rename themes/{crab => dark-cosmos}/layouts/partials/header.html (95%) rename themes/{crab => dark-cosmos}/layouts/partials/menu.html (100%) rename themes/{crab => dark-cosmos}/layouts/partials/pagination.html (100%) rename themes/{crab => dark-cosmos}/layouts/partials/tags.html (100%) rename themes/{crab => dark-cosmos}/layouts/shortcodes/summary.html (100%) rename themes/{crab/static/css/crab.css => dark-cosmos/static/css/style.css} (98%) create mode 100644 themes/dark-cosmos/theme.toml diff --git a/config.toml b/config.toml index bb76af9..7807015 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,6 @@ baseURL = "https://bvebarcelona.cat/" title = "BVE Barcelona" -theme = "crab" +theme = "dark-cosmos" DefaultContentLanguage = "ca" removePathAccents = true diff --git a/themes/crab/theme.toml b/themes/crab/theme.toml deleted file mode 100644 index 3eed7b4..0000000 --- a/themes/crab/theme.toml +++ /dev/null @@ -1,8 +0,0 @@ -name = "Crab" -license = "MIT" -licenselink = "https://github.com/thomasheller/crab/blob/master/LICENSE.md" -description = "A clean Hugo theme for websites" -homepage = "https://github.com/thomasheller/crab" -tags = ["clean"] -features = ["responsive", "404", "blog", "tags"] -min_version = 0.18 diff --git a/themes/crab/archetypes/default.md b/themes/dark-cosmos/archetypes/default.md similarity index 100% rename from themes/crab/archetypes/default.md rename to themes/dark-cosmos/archetypes/default.md diff --git a/themes/crab/i18n/ca.toml b/themes/dark-cosmos/i18n/ca.toml similarity index 100% rename from themes/crab/i18n/ca.toml rename to themes/dark-cosmos/i18n/ca.toml diff --git a/themes/crab/i18n/en.toml b/themes/dark-cosmos/i18n/en.toml similarity index 100% rename from themes/crab/i18n/en.toml rename to themes/dark-cosmos/i18n/en.toml diff --git a/themes/crab/i18n/es.toml b/themes/dark-cosmos/i18n/es.toml similarity index 100% rename from themes/crab/i18n/es.toml rename to themes/dark-cosmos/i18n/es.toml diff --git a/themes/crab/layouts/404.html b/themes/dark-cosmos/layouts/404.html similarity index 100% rename from themes/crab/layouts/404.html rename to themes/dark-cosmos/layouts/404.html diff --git a/themes/crab/layouts/_default/list.html b/themes/dark-cosmos/layouts/_default/list.html similarity index 100% rename from themes/crab/layouts/_default/list.html rename to themes/dark-cosmos/layouts/_default/list.html diff --git a/themes/crab/layouts/_default/single.html b/themes/dark-cosmos/layouts/_default/single.html similarity index 100% rename from themes/crab/layouts/_default/single.html rename to themes/dark-cosmos/layouts/_default/single.html diff --git a/themes/crab/layouts/index.html b/themes/dark-cosmos/layouts/index.html similarity index 100% rename from themes/crab/layouts/index.html rename to themes/dark-cosmos/layouts/index.html diff --git a/themes/crab/layouts/partials/footer.html b/themes/dark-cosmos/layouts/partials/footer.html similarity index 100% rename from themes/crab/layouts/partials/footer.html rename to themes/dark-cosmos/layouts/partials/footer.html diff --git a/themes/crab/layouts/partials/header.html b/themes/dark-cosmos/layouts/partials/header.html similarity index 95% rename from themes/crab/layouts/partials/header.html rename to themes/dark-cosmos/layouts/partials/header.html index 1fbee0e..0443ebf 100644 --- a/themes/crab/layouts/partials/header.html +++ b/themes/dark-cosmos/layouts/partials/header.html @@ -2,7 +2,7 @@ {{ .Title }} - {{ .Site.Title }} - + {{ .Hugo.Generator }} diff --git a/themes/crab/layouts/partials/menu.html b/themes/dark-cosmos/layouts/partials/menu.html similarity index 100% rename from themes/crab/layouts/partials/menu.html rename to themes/dark-cosmos/layouts/partials/menu.html diff --git a/themes/crab/layouts/partials/pagination.html b/themes/dark-cosmos/layouts/partials/pagination.html similarity index 100% rename from themes/crab/layouts/partials/pagination.html rename to themes/dark-cosmos/layouts/partials/pagination.html diff --git a/themes/crab/layouts/partials/tags.html b/themes/dark-cosmos/layouts/partials/tags.html similarity index 100% rename from themes/crab/layouts/partials/tags.html rename to themes/dark-cosmos/layouts/partials/tags.html diff --git a/themes/crab/layouts/shortcodes/summary.html b/themes/dark-cosmos/layouts/shortcodes/summary.html similarity index 100% rename from themes/crab/layouts/shortcodes/summary.html rename to themes/dark-cosmos/layouts/shortcodes/summary.html diff --git a/themes/crab/static/css/crab.css b/themes/dark-cosmos/static/css/style.css similarity index 98% rename from themes/crab/static/css/crab.css rename to themes/dark-cosmos/static/css/style.css index 89f8407..1ff5288 100644 --- a/themes/crab/static/css/crab.css +++ b/themes/dark-cosmos/static/css/style.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i|Open+Sans:400,400i,600,600i,700,700i'); +@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i'); html, body { diff --git a/themes/dark-cosmos/theme.toml b/themes/dark-cosmos/theme.toml new file mode 100644 index 0000000..eec8d01 --- /dev/null +++ b/themes/dark-cosmos/theme.toml @@ -0,0 +1,8 @@ +name = "Dark Cosmos" +license = "GPL" +licenselink = "https://github.com/MarcRiera/Dark-Cosmos/master/LICENSE.md" +description = "A clean dark theme for Hugo websites" +homepage = "https://github.com/MarcRiera/Dark-Cosmos" +tags = ["clean", "dark"] +features = ["responsive", "404", "blog"] +min_version = 0.18