diff --git a/layouts/partials/assets.html b/layouts/_partials/assets.html similarity index 100% rename from layouts/partials/assets.html rename to layouts/_partials/assets.html diff --git a/layouts/partials/breadcrumb.html b/layouts/_partials/breadcrumb.html similarity index 100% rename from layouts/partials/breadcrumb.html rename to layouts/_partials/breadcrumb.html diff --git a/layouts/partials/custom.html b/layouts/_partials/custom.html similarity index 100% rename from layouts/partials/custom.html rename to layouts/_partials/custom.html diff --git a/layouts/partials/feed/rss.html b/layouts/_partials/feed/rss.html similarity index 100% rename from layouts/partials/feed/rss.html rename to layouts/_partials/feed/rss.html diff --git a/layouts/partials/footer.html b/layouts/_partials/footer.html similarity index 100% rename from layouts/partials/footer.html rename to layouts/_partials/footer.html diff --git a/layouts/partials/function/content-encryption.html b/layouts/_partials/function/content-encryption.html similarity index 100% rename from layouts/partials/function/content-encryption.html rename to layouts/_partials/function/content-encryption.html diff --git a/layouts/partials/function/content.html b/layouts/_partials/function/content.html similarity index 100% rename from layouts/partials/function/content.html rename to layouts/_partials/function/content.html diff --git a/layouts/partials/function/dos2unix.html b/layouts/_partials/function/dos2unix.html similarity index 100% rename from layouts/partials/function/dos2unix.html rename to layouts/_partials/function/dos2unix.html diff --git a/layouts/partials/function/escape.html b/layouts/_partials/function/escape.html similarity index 100% rename from layouts/partials/function/escape.html rename to layouts/_partials/function/escape.html diff --git a/layouts/partials/function/escapeurl.html b/layouts/_partials/function/escapeurl.html similarity index 100% rename from layouts/partials/function/escapeurl.html rename to layouts/_partials/function/escapeurl.html diff --git a/layouts/partials/function/fontawesome.html b/layouts/_partials/function/fontawesome.html similarity index 100% rename from layouts/partials/function/fontawesome.html rename to layouts/_partials/function/fontawesome.html diff --git a/layouts/partials/function/format-number.html b/layouts/_partials/function/format-number.html similarity index 100% rename from layouts/partials/function/format-number.html rename to layouts/_partials/function/format-number.html diff --git a/layouts/partials/function/fraction.html b/layouts/_partials/function/fraction.html similarity index 100% rename from layouts/partials/function/fraction.html rename to layouts/_partials/function/fraction.html diff --git a/layouts/partials/function/get-author-map.html b/layouts/_partials/function/get-author-map.html similarity index 100% rename from layouts/partials/function/get-author-map.html rename to layouts/_partials/function/get-author-map.html diff --git a/layouts/partials/function/get-remote-image.html b/layouts/_partials/function/get-remote-image.html similarity index 100% rename from layouts/partials/function/get-remote-image.html rename to layouts/_partials/function/get-remote-image.html diff --git a/layouts/partials/function/get-remote-json.html b/layouts/_partials/function/get-remote-json.html similarity index 100% rename from layouts/partials/function/get-remote-json.html rename to layouts/_partials/function/get-remote-json.html diff --git a/layouts/partials/function/id.html b/layouts/_partials/function/id.html similarity index 100% rename from layouts/partials/function/id.html rename to layouts/_partials/function/id.html diff --git a/layouts/partials/function/is-url-remote.html b/layouts/_partials/function/is-url-remote.html similarity index 100% rename from layouts/partials/function/is-url-remote.html rename to layouts/_partials/function/is-url-remote.html diff --git a/layouts/partials/function/marked-text.html b/layouts/_partials/function/marked-text.html similarity index 100% rename from layouts/partials/function/marked-text.html rename to layouts/_partials/function/marked-text.html diff --git a/layouts/partials/function/params.html b/layouts/_partials/function/params.html similarity index 100% rename from layouts/partials/function/params.html rename to layouts/_partials/function/params.html diff --git a/layouts/partials/function/path.html b/layouts/_partials/function/path.html similarity index 100% rename from layouts/partials/function/path.html rename to layouts/_partials/function/path.html diff --git a/layouts/partials/function/resource.html b/layouts/_partials/function/resource.html similarity index 100% rename from layouts/partials/function/resource.html rename to layouts/_partials/function/resource.html diff --git a/layouts/partials/function/ruby.html b/layouts/_partials/function/ruby.html similarity index 100% rename from layouts/partials/function/ruby.html rename to layouts/_partials/function/ruby.html diff --git a/layouts/partials/function/suffix-validation.html b/layouts/_partials/function/suffix-validation.html similarity index 100% rename from layouts/partials/function/suffix-validation.html rename to layouts/_partials/function/suffix-validation.html diff --git a/layouts/partials/function/task-lists.html b/layouts/_partials/function/task-lists.html similarity index 100% rename from layouts/partials/function/task-lists.html rename to layouts/_partials/function/task-lists.html diff --git a/layouts/partials/function/trim.html b/layouts/_partials/function/trim.html similarity index 100% rename from layouts/partials/function/trim.html rename to layouts/_partials/function/trim.html diff --git a/layouts/partials/head/link.html b/layouts/_partials/head/link.html similarity index 100% rename from layouts/partials/head/link.html rename to layouts/_partials/head/link.html diff --git a/layouts/partials/head/meta.html b/layouts/_partials/head/meta.html similarity index 100% rename from layouts/partials/head/meta.html rename to layouts/_partials/head/meta.html diff --git a/layouts/partials/head/script.html b/layouts/_partials/head/script.html similarity index 100% rename from layouts/partials/head/script.html rename to layouts/_partials/head/script.html diff --git a/layouts/partials/head/seo.html b/layouts/_partials/head/seo.html similarity index 100% rename from layouts/partials/head/seo.html rename to layouts/_partials/head/seo.html diff --git a/layouts/partials/header.html b/layouts/_partials/header.html similarity index 100% rename from layouts/partials/header.html rename to layouts/_partials/header.html diff --git a/layouts/partials/home/profile.html b/layouts/_partials/home/profile.html similarity index 100% rename from layouts/partials/home/profile.html rename to layouts/_partials/home/profile.html diff --git a/layouts/partials/init/detection-deprecated.html b/layouts/_partials/init/detection-deprecated.html similarity index 87% rename from layouts/partials/init/detection-deprecated.html rename to layouts/_partials/init/detection-deprecated.html index c082291e..c444b846 100644 --- a/layouts/partials/init/detection-deprecated.html +++ b/layouts/_partials/init/detection-deprecated.html @@ -7,11 +7,11 @@ {{- end -}} {{- with .Site.Params.customFilePath -}} - {{- $warns = $warns | append "The parameter `params.customFilePath` is deprecated since v0.3.7, use `layouts/partials/custom.html` instead." -}} + {{- $warns = $warns | append "The parameter `params.customFilePath` is deprecated since v0.3.7, use `layouts/_partials/custom.html` instead." -}} {{- end -}} {{- with .Site.Params.footer.custom -}} - {{- $warns = $warns | append "The parameter `params.footer.custom` is deprecated since v0.3.7, use `layouts/partials/custom.html` instead." -}} + {{- $warns = $warns | append "The parameter `params.footer.custom` is deprecated since v0.3.7, use `layouts/_partials/custom.html` instead." -}} {{- end -}} {{- with .Site.Params.ibruce -}} diff --git a/layouts/partials/init/detection-env.html b/layouts/_partials/init/detection-env.html similarity index 100% rename from layouts/partials/init/detection-env.html rename to layouts/_partials/init/detection-env.html diff --git a/layouts/partials/init/detection-version.html b/layouts/_partials/init/detection-version.html similarity index 100% rename from layouts/partials/init/detection-version.html rename to layouts/_partials/init/detection-version.html diff --git a/layouts/partials/init/global.html b/layouts/_partials/init/global.html similarity index 100% rename from layouts/partials/init/global.html rename to layouts/_partials/init/global.html diff --git a/layouts/partials/init/index.html b/layouts/_partials/init/index.html similarity index 100% rename from layouts/partials/init/index.html rename to layouts/_partials/init/index.html diff --git a/layouts/partials/init/patch.html b/layouts/_partials/init/patch.html similarity index 100% rename from layouts/partials/init/patch.html rename to layouts/_partials/init/patch.html diff --git a/layouts/partials/paginator.html b/layouts/_partials/paginator.html similarity index 100% rename from layouts/partials/paginator.html rename to layouts/_partials/paginator.html diff --git a/layouts/partials/plugin/admonition.html b/layouts/_partials/plugin/admonition.html similarity index 100% rename from layouts/partials/plugin/admonition.html rename to layouts/_partials/plugin/admonition.html diff --git a/layouts/partials/plugin/alert.html b/layouts/_partials/plugin/alert.html similarity index 100% rename from layouts/partials/plugin/alert.html rename to layouts/_partials/plugin/alert.html diff --git a/layouts/partials/plugin/analytics.html b/layouts/_partials/plugin/analytics.html similarity index 100% rename from layouts/partials/plugin/analytics.html rename to layouts/_partials/plugin/analytics.html diff --git a/layouts/partials/plugin/compatibility.html b/layouts/_partials/plugin/compatibility.html similarity index 100% rename from layouts/partials/plugin/compatibility.html rename to layouts/_partials/plugin/compatibility.html diff --git a/layouts/partials/plugin/echarts.html b/layouts/_partials/plugin/echarts.html similarity index 100% rename from layouts/partials/plugin/echarts.html rename to layouts/_partials/plugin/echarts.html diff --git a/layouts/partials/plugin/fixit-encryptor.html b/layouts/_partials/plugin/fixit-encryptor.html similarity index 100% rename from layouts/partials/plugin/fixit-encryptor.html rename to layouts/_partials/plugin/fixit-encryptor.html diff --git a/layouts/partials/plugin/icon.html b/layouts/_partials/plugin/icon.html similarity index 100% rename from layouts/partials/plugin/icon.html rename to layouts/_partials/plugin/icon.html diff --git a/layouts/partials/plugin/image-legacy.html b/layouts/_partials/plugin/image-legacy.html similarity index 100% rename from layouts/partials/plugin/image-legacy.html rename to layouts/_partials/plugin/image-legacy.html diff --git a/layouts/partials/plugin/image.html b/layouts/_partials/plugin/image.html similarity index 98% rename from layouts/partials/plugin/image.html rename to layouts/_partials/plugin/image.html index 15cc3127..163dc55e 100644 --- a/layouts/partials/plugin/image.html +++ b/layouts/_partials/plugin/image.html @@ -24,7 +24,7 @@ Parameters: - CacheRemote: Override the site parameter to cache remote images. Thanks @HEIGE-PCloud for the original code in the DoIt theme. -https://github.com/HEIGE-PCloud/DoIt/blob/main/layouts/partials/plugin/image.html +https://github.com/HEIGE-PCloud/DoIt/blob/main/layouts/_partials/plugin/image.html */ -}} {{- $isInline := strings.HasPrefix .Src "data:image" -}} diff --git a/layouts/partials/plugin/link.html b/layouts/_partials/plugin/link.html similarity index 100% rename from layouts/partials/plugin/link.html rename to layouts/_partials/plugin/link.html diff --git a/layouts/partials/plugin/mermaid.html b/layouts/_partials/plugin/mermaid.html similarity index 100% rename from layouts/partials/plugin/mermaid.html rename to layouts/_partials/plugin/mermaid.html diff --git a/layouts/partials/plugin/post-chat-ai.html b/layouts/_partials/plugin/post-chat-ai.html similarity index 100% rename from layouts/partials/plugin/post-chat-ai.html rename to layouts/_partials/plugin/post-chat-ai.html diff --git a/layouts/partials/plugin/reward.html b/layouts/_partials/plugin/reward.html similarity index 100% rename from layouts/partials/plugin/reward.html rename to layouts/_partials/plugin/reward.html diff --git a/layouts/partials/plugin/script.html b/layouts/_partials/plugin/script.html similarity index 100% rename from layouts/partials/plugin/script.html rename to layouts/_partials/plugin/script.html diff --git a/layouts/partials/plugin/share.html b/layouts/_partials/plugin/share.html similarity index 100% rename from layouts/partials/plugin/share.html rename to layouts/_partials/plugin/share.html diff --git a/layouts/partials/plugin/social.html b/layouts/_partials/plugin/social.html similarity index 100% rename from layouts/partials/plugin/social.html rename to layouts/_partials/plugin/social.html diff --git a/layouts/partials/plugin/style.html b/layouts/_partials/plugin/style.html similarity index 100% rename from layouts/partials/plugin/style.html rename to layouts/_partials/plugin/style.html diff --git a/layouts/partials/plugin/timeline.html b/layouts/_partials/plugin/timeline.html similarity index 100% rename from layouts/partials/plugin/timeline.html rename to layouts/_partials/plugin/timeline.html diff --git a/layouts/partials/recently-updated.html b/layouts/_partials/recently-updated.html similarity index 100% rename from layouts/partials/recently-updated.html rename to layouts/_partials/recently-updated.html diff --git a/layouts/partials/scratch/script.html b/layouts/_partials/scratch/script.html similarity index 100% rename from layouts/partials/scratch/script.html rename to layouts/_partials/scratch/script.html diff --git a/layouts/partials/scratch/style.html b/layouts/_partials/scratch/style.html similarity index 100% rename from layouts/partials/scratch/style.html rename to layouts/_partials/scratch/style.html diff --git a/layouts/partials/single/collection-list.html b/layouts/_partials/single/collection-list.html similarity index 100% rename from layouts/partials/single/collection-list.html rename to layouts/_partials/single/collection-list.html diff --git a/layouts/partials/single/collection-nav.html b/layouts/_partials/single/collection-nav.html similarity index 100% rename from layouts/partials/single/collection-nav.html rename to layouts/_partials/single/collection-nav.html diff --git a/layouts/partials/single/comment.html b/layouts/_partials/single/comment.html similarity index 100% rename from layouts/partials/single/comment.html rename to layouts/_partials/single/comment.html diff --git a/layouts/partials/single/expiration-reminder.html b/layouts/_partials/single/expiration-reminder.html similarity index 100% rename from layouts/partials/single/expiration-reminder.html rename to layouts/_partials/single/expiration-reminder.html diff --git a/layouts/partials/single/fixit-decryptor.html b/layouts/_partials/single/fixit-decryptor.html similarity index 100% rename from layouts/partials/single/fixit-decryptor.html rename to layouts/_partials/single/fixit-decryptor.html diff --git a/layouts/partials/single/footer.html b/layouts/_partials/single/footer.html similarity index 100% rename from layouts/partials/single/footer.html rename to layouts/_partials/single/footer.html diff --git a/layouts/partials/single/post-author.html b/layouts/_partials/single/post-author.html similarity index 100% rename from layouts/partials/single/post-author.html rename to layouts/_partials/single/post-author.html diff --git a/layouts/partials/single/post-included-in.html b/layouts/_partials/single/post-included-in.html similarity index 100% rename from layouts/partials/single/post-included-in.html rename to layouts/_partials/single/post-included-in.html diff --git a/layouts/partials/single/related-aside.html b/layouts/_partials/single/related-aside.html similarity index 100% rename from layouts/partials/single/related-aside.html rename to layouts/_partials/single/related-aside.html diff --git a/layouts/partials/single/related.html b/layouts/_partials/single/related.html similarity index 100% rename from layouts/partials/single/related.html rename to layouts/_partials/single/related.html diff --git a/layouts/partials/single/reward.html b/layouts/_partials/single/reward.html similarity index 100% rename from layouts/partials/single/reward.html rename to layouts/_partials/single/reward.html diff --git a/layouts/partials/widgets.html b/layouts/_partials/widgets.html similarity index 100% rename from layouts/partials/widgets.html rename to layouts/_partials/widgets.html diff --git a/layouts/shortcodes/admonition.html b/layouts/_shortcodes/admonition.html similarity index 100% rename from layouts/shortcodes/admonition.html rename to layouts/_shortcodes/admonition.html diff --git a/layouts/shortcodes/bilibili.html b/layouts/_shortcodes/bilibili.html similarity index 100% rename from layouts/shortcodes/bilibili.html rename to layouts/_shortcodes/bilibili.html diff --git a/layouts/shortcodes/bluesky.html b/layouts/_shortcodes/bluesky.html similarity index 100% rename from layouts/shortcodes/bluesky.html rename to layouts/_shortcodes/bluesky.html diff --git a/layouts/shortcodes/center-quote.html b/layouts/_shortcodes/center-quote.html similarity index 100% rename from layouts/shortcodes/center-quote.html rename to layouts/_shortcodes/center-quote.html diff --git a/layouts/shortcodes/details.html b/layouts/_shortcodes/details.html similarity index 100% rename from layouts/shortcodes/details.html rename to layouts/_shortcodes/details.html diff --git a/layouts/shortcodes/douyin.html b/layouts/_shortcodes/douyin.html similarity index 100% rename from layouts/shortcodes/douyin.html rename to layouts/_shortcodes/douyin.html diff --git a/layouts/shortcodes/echarts.html b/layouts/_shortcodes/echarts.html similarity index 100% rename from layouts/shortcodes/echarts.html rename to layouts/_shortcodes/echarts.html diff --git a/layouts/shortcodes/fixit-encryptor.html b/layouts/_shortcodes/fixit-encryptor.html similarity index 100% rename from layouts/shortcodes/fixit-encryptor.html rename to layouts/_shortcodes/fixit-encryptor.html diff --git a/layouts/shortcodes/gist.html b/layouts/_shortcodes/gist.html similarity index 100% rename from layouts/shortcodes/gist.html rename to layouts/_shortcodes/gist.html diff --git a/layouts/shortcodes/image.html b/layouts/_shortcodes/image.html similarity index 100% rename from layouts/shortcodes/image.html rename to layouts/_shortcodes/image.html diff --git a/layouts/shortcodes/link.html b/layouts/_shortcodes/link.html similarity index 100% rename from layouts/shortcodes/link.html rename to layouts/_shortcodes/link.html diff --git a/layouts/shortcodes/mapbox.html b/layouts/_shortcodes/mapbox.html similarity index 100% rename from layouts/shortcodes/mapbox.html rename to layouts/_shortcodes/mapbox.html diff --git a/layouts/shortcodes/mermaid.html b/layouts/_shortcodes/mermaid.html similarity index 100% rename from layouts/shortcodes/mermaid.html rename to layouts/_shortcodes/mermaid.html diff --git a/layouts/shortcodes/music.html b/layouts/_shortcodes/music.html similarity index 100% rename from layouts/shortcodes/music.html rename to layouts/_shortcodes/music.html diff --git a/layouts/shortcodes/raw.html b/layouts/_shortcodes/raw.html similarity index 100% rename from layouts/shortcodes/raw.html rename to layouts/_shortcodes/raw.html diff --git a/layouts/shortcodes/reward.html b/layouts/_shortcodes/reward.html similarity index 100% rename from layouts/shortcodes/reward.html rename to layouts/_shortcodes/reward.html diff --git a/layouts/shortcodes/script.html b/layouts/_shortcodes/script.html similarity index 100% rename from layouts/shortcodes/script.html rename to layouts/_shortcodes/script.html diff --git a/layouts/shortcodes/spotify.html b/layouts/_shortcodes/spotify.html similarity index 100% rename from layouts/shortcodes/spotify.html rename to layouts/_shortcodes/spotify.html diff --git a/layouts/shortcodes/style.html b/layouts/_shortcodes/style.html similarity index 100% rename from layouts/shortcodes/style.html rename to layouts/_shortcodes/style.html diff --git a/layouts/shortcodes/timeline.html b/layouts/_shortcodes/timeline.html similarity index 100% rename from layouts/shortcodes/timeline.html rename to layouts/_shortcodes/timeline.html diff --git a/layouts/shortcodes/typeit.html b/layouts/_shortcodes/typeit.html similarity index 100% rename from layouts/shortcodes/typeit.html rename to layouts/_shortcodes/typeit.html diff --git a/layouts/shortcodes/version.html b/layouts/_shortcodes/version.html similarity index 100% rename from layouts/shortcodes/version.html rename to layouts/_shortcodes/version.html