mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
Link hyphae instead of diffs in recent changes
Also fix Makefile so it includes config.mk iff it exists
This commit is contained in:
parent
60156b636b
commit
8848a994e5
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
.POSIX:
|
||||
include config.example.mk
|
||||
include config.mk
|
||||
-include config.mk
|
||||
|
||||
run: build
|
||||
./mycorrhiza ${WIKIPATH}
|
||||
|
@ -8,7 +8,7 @@ HyphaeLinksHTML returns a comma-separated list of hyphae that were affected by t
|
||||
{% if i > 0 %}
|
||||
<span aria-hidden="true">, </span>
|
||||
{% endif %}
|
||||
<a href="/primitive-diff/{%s rev.Hash %}/{%s hyphaName %}">{%s hyphaName %}</a>
|
||||
<a href="/hypha/{%s hyphaName %}">{%s hyphaName %}</a>
|
||||
{% endfor %}
|
||||
{% endstripspace %}
|
||||
{% endfunc %}
|
||||
|
@ -39,11 +39,7 @@ func (rev Revision) StreamHyphaeLinksHTML(qw422016 *qt422016.Writer) {
|
||||
//line history/view.qtpl:10
|
||||
}
|
||||
//line history/view.qtpl:10
|
||||
qw422016.N().S(`<a href="/primitive-diff/`)
|
||||
//line history/view.qtpl:11
|
||||
qw422016.E().S(rev.Hash)
|
||||
//line history/view.qtpl:11
|
||||
qw422016.N().S(`/`)
|
||||
qw422016.N().S(`<a href="/hypha/`)
|
||||
//line history/view.qtpl:11
|
||||
qw422016.E().S(hyphaName)
|
||||
//line history/view.qtpl:11
|
||||
|
Loading…
Reference in New Issue
Block a user