-[submodule "blog/themes/smigle"]
- path = blog/themes/smigle
+[submodule "blog/src/themes/smigle"]
+ path = blog/src/themes/smigle
url = https://gitlab.com/ian-s-mcb/smigle-hugo-theme.git
title = 'ハヤオのブログ'
theme = "smigle"
-[module]
-[[module.mounts]]
- source = '/blog/content'
- target = '/blog/content'
-[[module.mounts]]
- source = '/blog/static'
- target = '/blog/static'
-[[module.mounts]]
- source = '/blog/layouts'
- target = '/blog/layouts'
-[[module.mounts]]
- source = '/blog/data'
- target = '/blog/data'
-[[module.mounts]]
- source = '/blog/assets'
- target = '/blog/assets'
-[[module.mounts]]
- source = '/blog/i18n'
- target = '/blog/i18n'
-[[module.mounts]]
- source = '/blog/archetypes'
- target = '/blog/archetypes'
+archetypeDir = "src/archetypes"
+assetDir = "src/assets"
+contentDir = "src/content"
+dataDir = "src/data"
+layoutDir = "src/layouts"
+staticDir = "src/static"
+themesDir = "src/themes"
+publishDir = "./"
set -eu
script_path="$( cd -P "$( dirname "$(readlink -f "${0}")" )" && pwd )"
-theme_dir="${script_path}/themes/"
+theme_dir="${script_path}/src/themes/"
cd "${theme_dir}"
for _theme in "${theme_dir}/"*; do