1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30

minor fixes

This commit is contained in:
2023-07-19 15:58:47 +05:30
parent 0bb902369f
commit 2afb4b65b8
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -42,7 +42,6 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: recursive
fetch-depth: 0 fetch-depth: 0
- name: Setup Pages - name: Setup Pages
id: pages id: pages
@@ -53,6 +52,7 @@ jobs:
HUGO_ENVIRONMENT: production HUGO_ENVIRONMENT: production
HUGO_ENV: production HUGO_ENV: production
run: | run: |
cd html-only
hugo \ hugo \
--gc \ --gc \
--minify \ --minify \
@@ -60,7 +60,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:
path: ./public path: ./html-only/public
# Deployment job # Deployment job
deploy: deploy:
+2 -2
View File
@@ -48,8 +48,8 @@
<!-- style --> <!-- style -->
<!-- <link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" /> --> <!-- <link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" /> -->
<link media="screen" rel="stylesheet" href='{{ "css/common.css" | relURL }}'> <link media="screen" rel="stylesheet" href='https://null.avinal.space/css/common.css'>
<link media="screen" rel="stylesheet" href='{{ "css/content.css" | relURL }}'> <link media="screen" rel="stylesheet" href='https://null.avinal.space/css/content.css'>
<!-- title --> <!-- title -->
{{ if .IsHome }} {{ if .IsHome }}
+1 -1
View File
@@ -1,5 +1,5 @@
{{ define "head" }} {{ define "head" }}
<link rel="stylesheet" href='{{ "css/single.css" | relURL }}'> <link rel="stylesheet" href='https://null.avinal.space/css/single.css'>
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}