Skip to content

Commit

Permalink
fix article template and goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ubaldus committed Dec 31, 2024
1 parent e94abbc commit cc4e579
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ archives:
- wikilite-linux-i386
- wikilite-windows-amd64
- wikilite-windows-arm64
files:
- none*

checksum:
name_template: 'checksums.txt'
Expand Down
2 changes: 1 addition & 1 deletion assets/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{if .Results}}
{{$firstResult := index .Results 0}}
<h1 class="mb-5 text-center">{{$firstResult.Title}} <button class="btn speak-button"><i class="bi bi-volume-up-fill"></i></button></h1>
<h1 class="mb-5 text-center">{{$firstResult.Title}}</h1>

{{range $firstResult.Sections}}
<h2 class="mt-4 mb-3">{{.Title}}</h2>
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
)

const Version = "0.0.43"
const Version = "0.0.44"

type Config struct {
importPath string //https://dumps.wikimedia.org/other/enterprise_html/runs/...
Expand Down

0 comments on commit cc4e579

Please sign in to comment.