aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-11 14:37:00 -0600
committerFrederick Muriuki Muriithi2025-02-11 14:37:00 -0600
commite59b2ec7a6a9fd6a973001e1413dbeab07510af4 (patch)
tree3ca7977b0faac505ca383ef81435ab2de383d004
parent5f334d9502186871f526ec41a7b86c97066f38fc (diff)
downloadgn-guile-e59b2ec7a6a9fd6a973001e1413dbeab07510af4.tar.gz
Display the markdown with the default GN template.
-rw-r--r--web/view/view.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/view/view.scm b/web/view/view.scm
index 3be8641..4300863 100644
--- a/web/view/view.scm
+++ b/web/view/view.scm
@@ -10,6 +10,7 @@
#:use-module (web view markdown)
#:use-module (web view brand msk)
#:use-module (web view brand aging)
+ #:use-module (web templates genenetwork)
#:export (view-brand))
@@ -45,7 +46,9 @@ data to benefit from the power of integrated datasets, please contact:")
(define* (view-brand path)
(match path
("aging" (view-aging))
- ("gnqa" (markdown-github->sxml "genenetwork/gn-docs/general/brand/gnqa/gnqa.md"))
+ ("gnqa" (default-gn-template
+ "genenetwork/gn-docs/general/brand/gnqa/gnqa.md"
+ "GeneNetwork Question and Answer System"))
( _ (msk-html #:info
`(
,(markdown-github->sxml "genenetwork/gn-docs/general/brand/msk/home.md")