This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-training.git
The following commit(s) were added to refs/heads/develop by this push:
new 4d36cf8 fix(website): Tried fixing the ApacheCon Event link.
4d36cf8 is described below
commit 4d36cf8c5097f4d2e6a047f4680089f91d430c14
Author: cdutz <[email protected]>
AuthorDate: Wed Apr 6 11:47:02 2022 +0200
fix(website): Tried fixing the ApacheCon Event link.
---
site/src/site/site.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/site/src/site/site.xml b/site/src/site/site.xml
index 92e6f1e..3a28fab 100644
--- a/site/src/site/site.xml
+++ b/site/src/site/site.xml
@@ -88,9 +88,13 @@
<!-- Use JQuery to manipulate the final output of the page, which is a
lot simpler than adjusting the templates for site generation. -->
<![CDATA[
<script>
+ var apache_events_script = document.createElement('script');
+
apache_events_script.setAttribute('src','https://www.apachecon.com/event-images/snippet.js');
+ document.head.appendChild(apache_events_script);
+
document.addEventListener("DOMContentLoaded", function(event) {
/* Add an image for promoting Apache events below the right banner
*/
- $("#bannerRight").append('<p id="apacheEvents"><a
href="//www.apache.org/events/current-event.html"><img
src="//www.apache.org/events/current-event-234x60.png"/></a></p>');
+ $("#bannerRight").append('<a class="acevent" data-format="wide"
data-mode="light" data-event="random" style="width:240px;height:60px;"></a>');
/* Append the trademarks info to the copyright section */
$(".copyright").append('<p>Apache Training, Apache, the Apache
feather logo, and the Apache Training project logo are either registered
trademarks or trademarks of The Apache Software Foundation in the United States
and other countries. All other marks mentioned may be trademarks or registered
trademarks of their respective owners.</p>');
});