diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 1453553..0000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -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 e91e272..267b242 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -38,15 +38,6 @@ 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: @@ -59,6 +50,10 @@ 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 d1e04fc..d531c4d 100644 --- a/assets/scripts/fa-icons.js +++ b/assets/scripts/fa-icons.js @@ -17,7 +17,7 @@ import { faUserAstronaut, faVideo, faW, -} from "./pro-duotone-svg-icons"; +} from "@fortawesome/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 deleted file mode 100644 index 6c9bc52..0000000 Binary files a/assets/scripts/pro-duotone-svg-icons/index.js and /dev/null differ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f882c3..c8c15db 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,17 +5,18 @@ {{ 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" . }}