From 8848a994e59d522d399c390f24f8dfd9725247cd Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Mon, 1 Nov 2021 23:40:59 +0500 Subject: [PATCH] Link hyphae instead of diffs in recent changes Also fix Makefile so it includes config.mk iff it exists --- Makefile | 2 +- history/view.qtpl | 2 +- history/view.qtpl.go | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index df7830c..f4936cf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .POSIX: include config.example.mk -include config.mk +-include config.mk run: build ./mycorrhiza ${WIKIPATH} diff --git a/history/view.qtpl b/history/view.qtpl index 2a87825..b4ec298 100644 --- a/history/view.qtpl +++ b/history/view.qtpl @@ -8,7 +8,7 @@ HyphaeLinksHTML returns a comma-separated list of hyphae that were affected by t {% if i > 0 %} {% endif %} - {%s hyphaName %} + {%s hyphaName %} {% endfor %} {% endstripspace %} {% endfunc %} diff --git a/history/view.qtpl.go b/history/view.qtpl.go index 65c5a71..be51e18 100644 --- a/history/view.qtpl.go +++ b/history/view.qtpl.go @@ -39,11 +39,7 @@ func (rev Revision) StreamHyphaeLinksHTML(qw422016 *qt422016.Writer) { //line history/view.qtpl:10 } //line history/view.qtpl:10 - qw422016.N().S(`