From 2afb4b65b8334d4b9ea21dfa8b9aefe58e678d06 Mon Sep 17 00:00:00 2001 From: Avinal Kumar Date: Wed, 19 Jul 2023 15:58:47 +0530 Subject: [PATCH] minor fixes --- .github/workflows/deploy-null.yaml | 4 ++-- html-only/layouts/_default/baseof.html | 4 ++-- html-only/layouts/_default/single.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-null.yaml b/.github/workflows/deploy-null.yaml index ee863e4..016c6ea 100644 --- a/.github/workflows/deploy-null.yaml +++ b/.github/workflows/deploy-null.yaml @@ -42,7 +42,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - submodules: recursive fetch-depth: 0 - name: Setup Pages id: pages @@ -53,6 +52,7 @@ jobs: HUGO_ENVIRONMENT: production HUGO_ENV: production run: | + cd html-only hugo \ --gc \ --minify \ @@ -60,7 +60,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: ./public + path: ./html-only/public # Deployment job deploy: diff --git a/html-only/layouts/_default/baseof.html b/html-only/layouts/_default/baseof.html index f6992f1..66825af 100644 --- a/html-only/layouts/_default/baseof.html +++ b/html-only/layouts/_default/baseof.html @@ -48,8 +48,8 @@ - - + + {{ if .IsHome }} diff --git a/html-only/layouts/_default/single.html b/html-only/layouts/_default/single.html index 7b09722..4670351 100644 --- a/html-only/layouts/_default/single.html +++ b/html-only/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "head" }} - + {{ end }} {{ define "main" }}