mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
minor fixes
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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,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" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user