diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1453553 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +assets/scripts/pro-duotone-svg-icons/** filter=git-crypt diff=git-crypt diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 267b242..e91e272 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -38,6 +38,15 @@ jobs: with: submodules: recursive fetch-depth: 0 + - name: Install git-crypt + run: | + sudo apt-get install git-crypt -y + - name: Decrypt repository + run: | + echo "${{ secrets.GIT_CRYPT_KEY }}" \ + | base64 --decode \ + > ~/millironx.github.io.key + git-crypt unlock ~/millironx.github.io.key - name: Install Node.js uses: actions/setup-node@v3 with: @@ -50,10 +59,6 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v2 - - name: Configure custom Node.js repositories - run: | - npm config set "@fortawesome:registry" https://npm.fontawesome.com/ - npm config set "//npm.fontawesome.com/:_authToken" ${{ secrets.FONTAWESOME_TOKEN }} - name: Install postcss cli run: npm install -g postcss-cli - name: Install Node.js dependencies diff --git a/assets/scripts/fa-icons.js b/assets/scripts/fa-icons.js index d531c4d..d1e04fc 100644 --- a/assets/scripts/fa-icons.js +++ b/assets/scripts/fa-icons.js @@ -17,7 +17,7 @@ import { faUserAstronaut, faVideo, faW, -} from "@fortawesome/pro-duotone-svg-icons"; +} from "./pro-duotone-svg-icons"; import { faDiscord, faGithub, diff --git a/assets/scripts/pro-duotone-svg-icons/index.js b/assets/scripts/pro-duotone-svg-icons/index.js new file mode 100644 index 0000000..6c9bc52 Binary files /dev/null and b/assets/scripts/pro-duotone-svg-icons/index.js differ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c8c15db..5f882c3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,18 +5,17 @@ {{ with .Description }} - + {{ end }} {{ .Title }} - {{ .Site.Title }} {{ $twbssass := resources.Get "styles/mix-twbs.scss" | resources.ToCSS | minify | resources.PostProcess }} - + {{ $millironx := resources.Get "graphics/millironx.svg" }} - {{ partial "extras-modal" . }}