Merge pull request #50 from BurningKarl/fix-glossary-links
glossy: generate correct links to glossary entry
This commit is contained in:
1 file changed
-9
@@ -408,15 +408,6 @@
|
|||||||
[#metadata("hidden term")#term-label]
|
[#metadata("hidden term")#term-label]
|
||||||
} else {
|
} else {
|
||||||
// normal term display (ie not hidden)
|
// normal term display (ie not hidden)
|
||||||
|
|
||||||
// create the forward link, if watned
|
|
||||||
let linked-term = if term-links and __has_glossary_entry(key) {
|
|
||||||
link(label(key), term)
|
|
||||||
} else {
|
|
||||||
term
|
|
||||||
}
|
|
||||||
|
|
||||||
// and the final content
|
|
||||||
[#article#show-term(linked-term)#metadata(term)#term-label]
|
[#article#show-term(linked-term)#metadata(term)#term-label]
|
||||||
// |^^^^^|^^^^^^^^^ |^^^^^^^^ |^^^^^^^^^^^^
|
// |^^^^^|^^^^^^^^^ |^^^^^^^^ |^^^^^^^^^^^^
|
||||||
// \_art.| | |
|
// \_art.| | |
|
||||||
|
|||||||
Reference in new issue
Block a user