bdelacretaz commented on code in PR #147:
URL: https://github.com/apache/comdev-site/pull/147#discussion_r1407570808
##########
layouts/partials/website-source.html:
##########
@@ -0,0 +1,7 @@
+<p>
+ This website is generated from the <a href="{{ .Site.Params.repositoryUrl
}}">comdev-site repository</a>
+ {{ if .IsPage }}
Review Comment:
It works for me on the
[preview](https://community-edit-github.staged.apache.org/newcomers/gettingStarted.html),
do you see problems? I just pushed a commit to also generate links for section
and home pages, that wasn't working before.
IIUC the Page context is passed to the partial as it's included using
{{ partial "website-source.html" .}}
with the dot at the end for context.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]