mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-10-25 04:37:41 +00:00
Make a better recent changes page
This commit is contained in:
@@ -67,7 +67,7 @@ func wikilink(src string, state *GemLexerState) (href, text, class string) {
|
||||
case strings.ContainsRune(href, ':'):
|
||||
class = "wikilink_external"
|
||||
default:
|
||||
if !HyphaExists(href) {
|
||||
if !HyphaExists(canonicalName(href)) {
|
||||
class += " wikilink_new"
|
||||
}
|
||||
href = path.Join("/page", href)
|
||||
|
||||
Reference in New Issue
Block a user