diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4f59e302..c7b8351a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -53,7 +53,7 @@ jobs: ref: exampleSite - name: Setup Pages id: pages - uses: actions/configure-pages@v1 + uses: actions/configure-pages@v3 - name: Get Theme run: git submodule update --init --recursive - name: Update theme to Latest commit @@ -64,7 +64,7 @@ jobs: --buildDrafts --gc --verbose \ --baseURL ${{ steps.pages.outputs.base_url }} - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: ./public # Deployment job @@ -77,4 +77,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 3f8d6a35..876b77c6 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,6 +1,6 @@
{{- range . }} - + {{ partial "svg.html" . }} {{- end }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 79980b19..2f85399b 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -483,6 +483,10 @@ +{{- else if (eq $icon_name "printables") -}} + + + {{- else if (eq $icon_name "qq") -}} @@ -501,6 +505,12 @@ +{{- else if (eq $icon_name "rootme") -}} + + + + {{- else if (eq $icon_name "rss") -}} @@ -599,6 +609,10 @@ +{{- else if (eq $icon_name "thingiverse") -}} + + + {{- else if (eq $icon_name "threads") -}} diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html index 74abbb5e..435cba51 100644 --- a/layouts/partials/templates/schema_json.html +++ b/layouts/partials/templates/schema_json.html @@ -11,7 +11,7 @@ {{- if site.Params.schema.sameAs }} {{ range $i, $e := site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }} {{- else}} - {{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " }}{{ end }} + {{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " | safeURL }}{{ end }} {{- end}} ] }