Skip to content

Commit d975d97

Browse files
committed
try different upload artifact version for build
1 parent 22e9b8c commit d975d97

File tree

4 files changed

+6
-25
lines changed

4 files changed

+6
-25
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ env:
1818
HUGO_VERSION: "0.118.2"
1919
GO_VERSION: "1.20.5"
2020
NODE_VERSION: "18.15.0"
21-
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
22-
TINA_TOKEN: ${{ vars.TINA_TOKEN }}
2321

2422
jobs:
2523
# Build job

hugo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
###################### default configuration ####################
22
# The base URL of your site (required). This will be prepended to all relative URLs.
3-
#baseURL = "https://open-neuromorphic.org"
4-
5-
baseURL = "//"
3+
baseURL = "https://open-neuromorphic.org"
64

75
# Title of your website (required).
86
title = "Open Neuromorphic"

themes/hugoplate/layouts/partials/essentials/head.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@
4545
{{ partial "search-index.html" . }}
4646

4747

48-
<!-- matomo analytics -->
49-
{{/* {{ partialCached "matomo-analytics.html" . }} */}}
50-
51-
<!-- Baidu analytics -->
52-
{{/* {{ partialCached "baidu-analytics.html" . }} */}}
53-
54-
<!-- Plausible Analytics -->
55-
{{/* {{ partialCached "plausible-analytics.html" . }} */}}
56-
57-
<!-- Counter Analytics -->
58-
{{/* {{ partialCached "counter-analytics.html" . }} */}}
59-
60-
<!-- Crisp Chat -->
61-
{{/* {{ partialCached "crisp-chat.html" . }} */}}
62-
6348
{{ if .Params.math }}
6449
{{ partial "helpers/katex.html" . }}
6550
{{ end }}

themes/hugoplate/layouts/partials/essentials/style.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@
3737
crossorigin="anonymous"
3838
media="all"
3939
rel="stylesheet"
40-
href="{{ .link }}"
40+
href="{{ .link | relURL }}"
4141
{{ .attributes | safeHTMLAttr }} />
4242
{{ else }}
4343
{{ $styles = $styles | append (resources.Get .link) }}
4444
{{ end }}
4545
{{ end }}
46-
{{ $styles := $styles | append (resources.Get "/scss/main.scss" | toCSS) }}
47-
{{ $styles := $styles | resources.Concat "/css/style.css" }}
46+
{{ $styles := $styles | append (resources.Get "scss/main.scss" | toCSS) }}
47+
{{ $styles := $styles | resources.Concat "css/style.css" }}
4848
{{ $styles = $styles | resources.PostCSS }}
4949
{{ if hugo.IsProduction }}
50-
{{ $styles = $styles | resources.ExecuteAsTemplate "/css/style.css" . | minify | fingerprint | resources.PostProcess }}
50+
{{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . | minify | fingerprint | resources.PostProcess }}
5151
{{ else }}
52-
{{ $styles = $styles | resources.ExecuteAsTemplate "/css/style.css" . }}
52+
{{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . }}
5353
{{ end }}
5454
<style>
5555
a[target='_blank']::after {

0 commit comments

Comments
 (0)