From cc4e579feee7b74cdbe8ebc23bd57f9215359eea Mon Sep 17 00:00:00 2001 From: Ubaldo Porcheddu Date: Tue, 31 Dec 2024 17:02:43 +0000 Subject: [PATCH] fix article template and goreleaser --- .goreleaser.yml | 2 ++ assets/templates/article.html | 2 +- main.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4f4da87..26bed5e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -146,6 +146,8 @@ archives: - wikilite-linux-i386 - wikilite-windows-amd64 - wikilite-windows-arm64 + files: + - none* checksum: name_template: 'checksums.txt' diff --git a/assets/templates/article.html b/assets/templates/article.html index 83264aa..968f42f 100644 --- a/assets/templates/article.html +++ b/assets/templates/article.html @@ -2,7 +2,7 @@ {{if .Results}} {{$firstResult := index .Results 0}} -

{{$firstResult.Title}}

+

{{$firstResult.Title}}

{{range $firstResult.Sections}}

{{.Title}}

diff --git a/main.go b/main.go index 8cae693..ba8d492 100644 --- a/main.go +++ b/main.go @@ -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/...