blog @main -
refs -
log -
-
https://git.jolheiser.com/blog.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmZ55OMACgkQuFOtpdp7
v3rttRAAq67Rbb7ajRAHFvpFU5Aiu+tZVk0rmVZfoHkxjopq5v0CwvABaDG8W4V0
nsN4vFsPjAQeeX8cBYMOocWHY+IA5zM95xQUYeMCIO/BFjzPdjVnqVxmUkbd29p8
QlQrdfNEXrxgaeCEvwJA82jcDk3vqZ+q4jsnlF8LFXXby0HzjZCq78hI0FNRBc25
+rnSWBRxyhqb0qJtkAS2ouLT0E3RCuY9MFD831m6XP7OvGtgOkBd5TtMNpiNu8UO
eHYyvI0M6iQNh7fV67X7QpTSB98mHuHlXTejTdHgdLHLuMUywshidwXwtFwdRFeE
x2dt5ncn60mDFNTAb8w83lyiNq9Ack6yesUdatByHwedOKZSQnBOM4rPrhGEFAoO
vGOV14s5xGXWo8ESDT4l9Jxp8g7jLLi2Qc1ZigKKPceZMLX61cqt4FBMgPpY1t16
yko7N18qRrf9iUaCc31YLc+ZZnuh8Vf5+D90KFSAvOHjB709kCBiboxUrkcY36F3
EdTauMyS5t246VArhcGn414f5vFhsCG1xHSzyvsP+muPCTXMxPWhd8zrbr6C0ypz
GsIOeyCP44mPXLfmHLd/caNrV5TmBBDKwtoQlsAfZcDH5OtBfYufoa0SDmJWX02p
kR3tEDLyopj7TOBq98ZMwk9vBZZ9y0QkrCxFTsDAgz+kEFdupK8=
=EdLI
-----END PGP SIGNATURE-----
diff --git a/articles/gomodsri.md b/articles/gomodsri.md
index 2684f50c0b816c2e6401d2a770ee5b19f2be8cb0..8dda2d8cb7679b0fa0603377cbcbca2593f3f5eb 100644
--- a/articles/gomodsri.md
+++ b/articles/gomodsri.md
@@ -1,6 +1,7 @@
+++
title = "gomodsri"
summary = "Using taislcale/nardump to generate a go module SRI without building first"
+### The problem
date = 2024-03-10
category = "Nix"
+++
diff --git a/templates.templ b/templates.templ
index 00a0b9bdb66eba2b0398e66c8b2149c410204659..912542a625ac0847b82b52d54ad021328ea91716 100644
--- a/templates.templ
+++ b/templates.templ
@@ -54,7 +54,7 @@ <h2>{ article.Title }</h2>
<div style="display:flex;">
<p style="flex:auto;"><em>{ article.Category }</em></p>
<!DOCTYPE html>
-package main
+ <!DOCTYPE html>
</div>
</header>
<main>
diff --git a/templates_templ.go b/templates_templ.go
index fb1535bdc024f4144c7e637edb5aa8912727aa36..3e781cce77b0a845b8054ebf0c0fed2cdae9aa72 100644
--- a/templates_templ.go
+++ b/templates_templ.go
@@ -227,42 +227,58 @@ if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
// Code generated by templ - DO NOT EDIT.
-import "context"
+ templ_7745c5c3_Var1 := templ.GetChildren(ctx)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
var templ_7745c5c3_Var14 string
// Code generated by templ - DO NOT EDIT.
+
-import "bytes"
if templ_7745c5c3_Err != nil {
// Code generated by templ - DO NOT EDIT.
+
// Code generated by templ - DO NOT EDIT.
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
// Code generated by templ - DO NOT EDIT.
-// Code generated by templ - DO NOT EDIT.
+
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
// Code generated by templ - DO NOT EDIT.
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!doctype html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>")
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.608
+ if templ_7745c5c3_Err != nil {
+ if templ_7745c5c3_Err != nil {
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates.templ`, Line: 56, Col: 128}
+ }
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
func baseTemplate(title, description string) templ.Component {
-package main
+
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
func baseTemplate(title, description string) templ.Component {
+// templ: version: v0.2.608
//lint:file-ignore SA4006 This context is only used if a nested component is present.
+import "io"
+ return templ_7745c5c3_Err
+ }
func baseTemplate(title, description string) templ.Component {
+package main
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
+//lint:file-ignore SA4006 This context is only used if a nested component is present.
import "github.com/a-h/templ"
+ var templ_7745c5c3_Var16 templ.SafeURL = templ.SafeURL(fmt.Sprintf("https://git.jolheiser.com/blog/tree/%s/%s", ref, article.path))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var16)))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}