diff --git a/src/Vervis/Handler/Project.hs b/src/Vervis/Handler/Project.hs index 146121b..cd965ac 100644 --- a/src/Vervis/Handler/Project.hs +++ b/src/Vervis/Handler/Project.hs @@ -149,7 +149,7 @@ getProjectR projectHash = do , AP.projectParents = [] , AP.projectComponents = [] } - provideHtmlAndAP projectAP $ redirectToPrettyJSON here + provideHtmlAndAP projectAP $(widgetFile "project/one") where here = ProjectR projectHash diff --git a/templates/project/one.hamlet b/templates/project/one.hamlet new file mode 100644 index 0000000..cbe6aea --- /dev/null +++ b/templates/project/one.hamlet @@ -0,0 +1,15 @@ +$# This file is part of Vervis. +$# +$# Written in 2023 by fr33domlover . +$# +$# ♡ Copying is an act of love. Please copy, reuse and share. +$# +$# The author(s) have dedicated all copyright and related and neighboring +$# rights to this software to the public domain worldwide. This software is +$# distributed without any warranty. +$# +$# You should have received a copy of the CC0 Public Domain Dedication along +$# with this software. If not, see +$# . + +^{projectNavW (Entity projectID project) actor}