Compare commits
1 commit
master
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
|
47eb96677e |
5 changed files with 15 additions and 27 deletions
8
.github/workflows/ci-test.yml
vendored
8
.github/workflows/ci-test.yml
vendored
|
@ -19,8 +19,8 @@ jobs:
|
||||||
- '20.x'
|
- '20.x'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
|
@ -47,11 +47,11 @@ jobs:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# https://github.com/peaceiris/actions-hugo (community action)
|
# https://github.com/peaceiris/actions-hugo (community action)
|
||||||
- name: Run Hugo ${{ matrix.hugo }}
|
- name: Run Hugo ${{ matrix.hugo }}
|
||||||
uses: peaceiris/actions-hugo@v3
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: ${{ matrix.hugo }}
|
hugo-version: ${{ matrix.hugo }}
|
||||||
# extended: true
|
# extended: true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
**Binario** is a responsive card-based & code-light Hugo theme.
|
**Binario** is a responsive card-based & code-light Hugo theme.
|
||||||
|
|
||||||
**[Demo](https://binario.netlify.app/)**
|
**[Demo](https://binario.netlify.com/)**
|
||||||
|
|
||||||
![Binario theme screenshot](https://raw.githubusercontent.com/vimux/binario/master/images/tn.png)
|
![Binario theme screenshot](https://raw.githubusercontent.com/vimux/binario/master/images/tn.png)
|
||||||
|
|
||||||
|
|
|
@ -35,13 +35,7 @@
|
||||||
{{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }}
|
{{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }}
|
||||||
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $server := "" }}
|
{{- if not .Site.IsServer }}
|
||||||
{{- if ge (int (index (split hugo.Version ".") 1)) "120" }}
|
|
||||||
{{- $server = hugo.IsServer }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $server = .Site.IsServer }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if not $server -}}
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
{{- $server := "" }}
|
{{ if and (.Site.Config.Services.Disqus.Shortname) (.Param "comments") (not .Site.IsServer) }}
|
||||||
{{- if ge (int (index (split hugo.Version ".") 1)) "120" }}
|
|
||||||
{{- $server = hugo.IsServer }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $server = .Site.IsServer }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if and (.Site.Config.Services.Disqus.Shortname) (.Param "comments") (not $server) }}
|
|
||||||
<section class="comments block">
|
<section class="comments block">
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
</section>
|
</section>
|
||||||
{{- end }}
|
{{ end }}
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -659,12 +659,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/braces": {
|
"node_modules/braces": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
||||||
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
|
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fill-range": "^7.0.1"
|
"fill-range": "^7.1.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
|
@ -1594,9 +1594,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fill-range": {
|
"node_modules/fill-range": {
|
||||||
"version": "7.0.1",
|
"version": "7.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
||||||
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
|
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"to-regex-range": "^5.0.1"
|
"to-regex-range": "^5.0.1"
|
||||||
|
|
Loading…
Reference in a new issue