From d2c0f902d12a4e239815fea9a30a1d807ef750ce Mon Sep 17 00:00:00 2001 From: Avinal Kumar Date: Sat, 30 Mar 2024 13:20:30 +0530 Subject: [PATCH] fix links and github action Signed-off-by: Avinal Kumar rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- .github/workflows/builds.yaml | 7 ++++++- src/Components/Footer.elm | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yaml b/.github/workflows/builds.yaml index 3756327..00ac204 100644 --- a/.github/workflows/builds.yaml +++ b/.github/workflows/builds.yaml @@ -26,7 +26,12 @@ jobs: node-version: 16 cache: "npm" cache-dependency-path: ./package-lock.json + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.124.1' + extended: true - name: Install elm-land and node packages run: npm install - name: build - run: make all + run: make diff --git a/src/Components/Footer.elm b/src/Components/Footer.elm index b43f006..f6eab73 100644 --- a/src/Components/Footer.elm +++ b/src/Components/Footer.elm @@ -1,8 +1,9 @@ module Components.Footer exposing (..) import Html exposing (Html) -import Html.Attributes exposing (class, href, src) +import Html.Attributes exposing (class, href, src, target) import Utils.Constants exposing (IconLink, Link, footerLinks) +import Html.Attributes exposing (rel) singleLink : Link -> Html msg @@ -10,6 +11,8 @@ singleLink link = Html.a [ href link.url , class "underline decoration-cyan-500 hover:decoration-pink-500 text-xl" + , target "_blank" + , rel "noopener noreferrer" ] [ Html.text link.text ]