You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by bd...@apache.org on 2021/05/20 14:28:57 UTC
[comdev-events-site] branch master updated: Use a partial for the
footer and add a link to the source repository
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/comdev-events-site.git
The following commit(s) were added to refs/heads/master by this push:
new 77f9e72 Use a partial for the footer and add a link to the source repository
77f9e72 is described below
commit 77f9e72f22051cf1e6c469325df7979268aec809
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu May 20 16:28:25 2021 +0200
Use a partial for the footer and add a link to the source repository
---
layouts/_default/baseof.html | 11 +----------
layouts/barcamp-bos/baseof.html | 7 +------
layouts/barcamp-dc/baseof.html | 7 +------
layouts/partials/footer.html | 14 ++++++++++++++
4 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d727f2c..882da72 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -76,15 +76,6 @@
{{ block "main" . }}{{ end }}
</div>
- <div id="footer">
- <div class="copyright">
- <p>
- Copyright © {{ now.Year }} The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
- <br />
- Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
- </p>
- </div>
- </div>
+ {{ partial "footer.html" . }}
</body>
</html>
diff --git a/layouts/barcamp-bos/baseof.html b/layouts/barcamp-bos/baseof.html
index 7eda289..99be116 100755
--- a/layouts/barcamp-bos/baseof.html
+++ b/layouts/barcamp-bos/baseof.html
@@ -145,12 +145,7 @@
</div>
<hr/>
- <footer id="footer">
- Copyright © {{ now.Year }} The Apache Software Foundation - <a href="privacy.html" rel="nofollow">Privacy Policy</a>
- <br />
- Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
- </footer>
-
+ {{ partial "footer.html" . }}
</div>
<script src="/js/jquery.js"></script>
diff --git a/layouts/barcamp-dc/baseof.html b/layouts/barcamp-dc/baseof.html
index e44c066..ea0fb36 100755
--- a/layouts/barcamp-dc/baseof.html
+++ b/layouts/barcamp-dc/baseof.html
@@ -153,12 +153,7 @@
</div>
<hr/>
- <footer id="footer">
- Copyright © {{ now.Year }} The Apache Software Foundation - <a href="privacy.html" rel="nofollow">Privacy Policy</a>
- <br />
- Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
- </footer>
-
+ {{ partial "footer.html" . }}
</div>
<script src="/js/jquery.js"></script>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..020be90
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,14 @@
+<footer id="footer">
+ <div class="copyright">
+ <p>
+ Copyright © {{ now.Year }} The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <br />
+ Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+ <br />
+ This website is generated from the
+ <a href="https://github.com/apache/comdev-events-site">comdev-events-site</a>
+ repository.
+ </p>
+ </div>
+</footer>