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/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 30be3ca Use new ApacheCon banners from
https://www.apachecon.com/event-images/
30be3ca is described below
commit 30be3ca50483ab623496d0b9b9e33e725b9e5b3e
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed Mar 17 11:12:04 2021 +0100
Use new ApacheCon banners from https://www.apachecon.com/event-images/
---
src/main/jbake/templates/header.tpl | 3 +++
src/main/jbake/templates/menu.tpl | 9 +--------
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/main/jbake/templates/header.tpl
b/src/main/jbake/templates/header.tpl
index a876bc2..4127748 100644
--- a/src/main/jbake/templates/header.tpl
+++ b/src/main/jbake/templates/header.tpl
@@ -7,6 +7,9 @@ head {
link(rel:"stylesheet",
href:"https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css")
newLine()
link(rel:"stylesheet",
href:"${config.site_contextPath}res/css/site.css") newLine()
+ // Apache current events
+ yieldUnescaped "<script
src='https://www.apachecon.com/event-images/snippet.js'></script>"
+
// highlightjs.org
link(rel:'stylesheet',
href:'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css')
newLine()
yieldUnescaped "<script
src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js'></script>"
diff --git a/src/main/jbake/templates/menu.tpl
b/src/main/jbake/templates/menu.tpl
index 2059f42..c188577 100644
--- a/src/main/jbake/templates/menu.tpl
+++ b/src/main/jbake/templates/menu.tpl
@@ -74,14 +74,7 @@ div(class:"container") {
}
}
li(){
- a(href:"https://www.apache.org/events/current-event.html",
class:"column") {
- img(
- border:"0",
- alt:"Current ASF Events",
-
src:"https://www.apache.org/events/current-event-125x125.png",
- width:"125"
- )
- }
+
a(class:"acevent","data-format":"square","data-event":"random") {}
}
li(){
a(href:"https://apache.org/foundation/contributing.html",class:"column") {