From eee910e90aaa818e72d0dc9084860bc07a66c494 Mon Sep 17 00:00:00 2001 From: Aditya Sharma Date: Fri, 18 Oct 2024 13:58:24 +0530 Subject: [PATCH] Improved added keynote on sessions page --- .../java-roadmap-role-java-community.md | 2 +- layouts/_default/baseof.html | 9 ++++- layouts/sessions/list.html | 40 ++++++++++++++----- 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/content/sessions/java-roadmap-role-java-community.md b/content/sessions/java-roadmap-role-java-community.md index f48b238..df5ec4b 100644 --- a/content/sessions/java-roadmap-role-java-community.md +++ b/content/sessions/java-roadmap-role-java-community.md @@ -3,7 +3,7 @@ title: 'Java roadmap and the role of Java community' speakers: - pravemoh topics: - - core + - keynote time: 09:30 AM – 10:20 AM weight: 1 --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8e86c4e..5b1c11f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -118,11 +118,18 @@ background-color: #736658; border-color: #736658; } + #myTab .active { + background-color: #736658; + border-color: #736658; + } + #myTabContent .tab-pane a { + color: black; + } -
+
{{ block "header" . }}{{ partial "header" . }}{{end}} {{ block "main" . }}{{end}} {{ block "footer" . }}{{ partial "footer" . }}{{end}} diff --git a/layouts/sessions/list.html b/layouts/sessions/list.html index d8ee2d0..303116f 100755 --- a/layouts/sessions/list.html +++ b/layouts/sessions/list.html @@ -1,24 +1,24 @@ {{ define "main" }} {{ $section := .Site.GetPage "section" .Section }} -
+
@@ -26,7 +26,29 @@
-
+
+
    + + {{ range .Pages }} + + {{ if in .Params.topics "keynote" }} + +
  • + {{ .Params.time }} +
    + {{ .Title }} +

    + {{ .Content | strings.Truncate 300 }} +

    +
    +
  • + + {{ end }} + + {{ end }} +
+
+
    {{ range .Pages }}