Compare commits
No commits in common. "f3196ea0aabaaabd0fb612504af4e3a0d85edfa6" and "e4bab35fd1f110eccd9e2382594d297b0f4e60df" have entirely different histories.
f3196ea0aa
...
e4bab35fd1
4 changed files with 8 additions and 20 deletions
8
.github/workflows/ci-test.yml
vendored
8
.github/workflows/ci-test.yml
vendored
|
@ -19,8 +19,8 @@ jobs:
|
|||
- '20.x'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
|
@ -47,11 +47,11 @@ jobs:
|
|||
fail-fast: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# https://github.com/peaceiris/actions-hugo (community action)
|
||||
- name: Run Hugo ${{ matrix.hugo }}
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: ${{ matrix.hugo }}
|
||||
# extended: true
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
**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)
|
||||
|
||||
|
|
|
@ -35,13 +35,7 @@
|
|||
{{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }}
|
||||
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
||||
{{- end }}
|
||||
{{- $server := "" }}
|
||||
{{- if ge (int (index (split hugo.Version ".") 1)) "120" }}
|
||||
{{- $server = hugo.IsServer }}
|
||||
{{- else }}
|
||||
{{- $server = .Site.IsServer }}
|
||||
{{- end }}
|
||||
{{- if not $server -}}
|
||||
{{- if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{- end }}
|
||||
</head>
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
{{- $server := "" }}
|
||||
{{- 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) }}
|
||||
{{ if and (.Site.Config.Services.Disqus.Shortname) (.Param "comments") (not .Site.IsServer) }}
|
||||
<section class="comments block">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
Loading…
Reference in a new issue