diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..de9af35a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-redirect"] + path = themes/hugo-redirect + url = https://github.com/gcc42/hugo-redirect.git diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index c5d19c95..4d1b7cc2 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -9,10 +9,7 @@ module: imports: - path: github.com/hugo-sid/hugo-blog-awesome -theme: "github.com/hugo-sid/hugo-blog-awesome" - -footer: - disclaimer: "ciao" +theme: ["hugo-redirect", "github.com/hugo-sid/hugo-blog-awesome"] related: includeNewer: true diff --git a/content/redirect/social_card.md b/content/redirect/social_card.md new file mode 100644 index 00000000..0c147e09 --- /dev/null +++ b/content/redirect/social_card.md @@ -0,0 +1,9 @@ ++++ +# For example, to Redirect from /old_blog to /blog, set +# url to "/old_blog" and redirect_to to "/blog" below +type = "redirect" +url = "/social_card/" +redirect_to = "https://linktr.ee/fundor333" +redirect_enabled = true +private = true ++++ diff --git a/content/social_card.md b/content/social_card.md deleted file mode 100644 index db876d66..00000000 --- a/content/social_card.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "Fundor333" -type: about -specialpost: true ---- -Sviluppatore e fotografo nel tempo libero. - -Qui sotto i miei link diff --git a/themes/hugo-redirect b/themes/hugo-redirect new file mode 160000 index 00000000..debb2475 --- /dev/null +++ b/themes/hugo-redirect @@ -0,0 +1 @@ +Subproject commit debb2475769eae4436809669e149bbe7bca77f49