You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/09/24 19:23:44 UTC

[camel-website] branch master updated (f6c9b2e -> 22a3837)

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git.


    from f6c9b2e  CAMEL-15542: replace Gitter logo with Zulip
     new 6dbd968  add sitemap to camel website
     new 20e49ca  Add and edit titles of hugo pages
     new 22a3837  style changes on sitemap

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 antora-ui-camel/src/css/site.css                |  1 +
 antora-ui-camel/src/css/sitemap.css             | 19 ++++++++++++
 antora-ui-camel/src/partials/footer-content.hbs |  3 ++
 content/community/_index.md                     |  1 +
 content/docs/_index.md                          |  1 +
 content/misc/_index.md                          |  4 +++
 content/releases/_index.md                      |  2 +-
 content/security/_index.md                      |  2 +-
 content/sitemap/_index.md                       |  3 ++
 layouts/download/download.html                  |  2 +-
 layouts/partials/footer.html                    |  3 ++
 layouts/sitemap/sitemap.html                    | 40 +++++++++++++++++++++++++
 12 files changed, 78 insertions(+), 3 deletions(-)
 create mode 100644 antora-ui-camel/src/css/sitemap.css
 create mode 100644 content/misc/_index.md
 create mode 100644 content/sitemap/_index.md
 create mode 100644 layouts/sitemap/sitemap.html


[camel-website] 03/03: style changes on sitemap

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 22a38377d5e86c2163597c40e88989f529420d66
Author: aashnajena <je...@gmail.com>
AuthorDate: Tue Aug 18 01:31:10 2020 +0530

    style changes on sitemap
---
 antora-ui-camel/src/css/sitemap.css | 1 +
 layouts/sitemap/sitemap.html        | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/antora-ui-camel/src/css/sitemap.css b/antora-ui-camel/src/css/sitemap.css
index 2f64647..32ee347 100644
--- a/antora-ui-camel/src/css/sitemap.css
+++ b/antora-ui-camel/src/css/sitemap.css
@@ -9,6 +9,7 @@
   columns: 2;
   padding: 0;
   column-gap: 25%;
+  white-space: nowrap;
 }
 
 @media screen and (max-width: 626px) {
diff --git a/layouts/sitemap/sitemap.html b/layouts/sitemap/sitemap.html
index d2853b7..afae02b 100644
--- a/layouts/sitemap/sitemap.html
+++ b/layouts/sitemap/sitemap.html
@@ -3,7 +3,7 @@
 <div class="body">
     <main class="article">
         <div class="content">
-            <article class="doc static sitemap"> 
+            <article class="static doc sitemap"> 
                 <h1 class="page">{{ .Title }} </h1>
                 <a href="/"><h2>Overview</h2></a>
                 <ul class="sitemap-list">
@@ -13,16 +13,15 @@
                         <li><a href = "{{ .Permalink }}" >{{.Title}}</a></li>
                         {{end}}
                     {{ end }}
-                    <li><a href = "/community/">Community</a></li>
                 </ul>
                 <a href="/docs/"><h2>Documentation</h2></a>
                 <ul class="sitemap-list">
                     <li><a href = "/manual/latest/getting-started.html">Getting Started</a></li>
                     <li><a href = "/manual/latest/">User Manual</a></li>
-                    <li><a href = "/manual/latest/faq/">FAQ</a></li>
+                    <li><a href = "/manual/latest/faq/">Frequently Asked Questions</a></li>
                     <li><a href = "/components/latest/">Component Reference</a></li>
                     <li><a href = "/components/latest/dataformats/">Data Formats</a></li>
-                    <li><a href = "/components/latest/eips/enterprise-integration-patterns.html">EIP</a></li>
+                    <li><a href = "/components/latest/eips/enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li>
                 </ul>
                 <a href="/docs/"><h2>Sub Projects</h2></a>
                 <ul class="sitemap-list">


[camel-website] 02/03: Add and edit titles of hugo pages

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 20e49ca184110ad6a40f7f5f74696a6c7c225d0a
Author: aashnajena <je...@gmail.com>
AuthorDate: Tue Aug 18 01:30:24 2020 +0530

    Add and edit titles of hugo pages
---
 content/community/_index.md | 1 +
 content/docs/_index.md      | 1 +
 content/misc/_index.md      | 4 ++++
 content/releases/_index.md  | 2 +-
 content/security/_index.md  | 2 +-
 content/sitemap/_index.md   | 2 +-
 6 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/content/community/_index.md b/content/community/_index.md
index 72733ed..5c55396 100644
--- a/content/community/_index.md
+++ b/content/community/_index.md
@@ -1,4 +1,5 @@
 ---
+Title: "Community"
 ---
 
 {{< div "section" >}}
diff --git a/content/docs/_index.md b/content/docs/_index.md
index 242cac9..8d21420 100644
--- a/content/docs/_index.md
+++ b/content/docs/_index.md
@@ -1,4 +1,5 @@
 ---
+Title: "Documentation"
 ---
 
 {{< div "camel-project" >}}
diff --git a/content/misc/_index.md b/content/misc/_index.md
new file mode 100644
index 0000000..cd71943
--- /dev/null
+++ b/content/misc/_index.md
@@ -0,0 +1,4 @@
+---
+title: "Miscellaneous"
+---
+The Apache Software Foundation (ASF) is an open source project organized under the auspices of a public benefit corporation. You can find terms of use of this website under [Privacy Policy]("/privacy-policy"). You can read more about organisations that helped Camel under [Acknowledgements](/acknowledgements).
\ No newline at end of file
diff --git a/content/releases/_index.md b/content/releases/_index.md
index b70c7ab..f51156b 100644
--- a/content/releases/_index.md
+++ b/content/releases/_index.md
@@ -1,5 +1,5 @@
 ---
-title: "Apache Camel Releases"
+title: "Releases"
 ---
 
 # Apache Camel releases archive
diff --git a/content/security/_index.md b/content/security/_index.md
index 46b0afc..8ec7e6a 100644
--- a/content/security/_index.md
+++ b/content/security/_index.md
@@ -1,5 +1,5 @@
 ---
-title: "Apache Camel security information"
+title: "Security"
 ---
 
 # Apache Camel security information
diff --git a/content/sitemap/_index.md b/content/sitemap/_index.md
index 1d825fe..79a415f 100644
--- a/content/sitemap/_index.md
+++ b/content/sitemap/_index.md
@@ -1,3 +1,3 @@
 ---
-title: "Camel Website Sitemap"
+title: "Sitemap"
 ---
\ No newline at end of file


[camel-website] 01/03: add sitemap to camel website

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 6dbd96862a7ead8cb049ce70a8cf2a3ea42e2d08
Author: aashnajena <je...@gmail.com>
AuthorDate: Sat Aug 15 18:09:35 2020 +0530

    add sitemap to camel website
---
 antora-ui-camel/src/css/site.css                |  1 +
 antora-ui-camel/src/css/sitemap.css             | 18 +++++++++++
 antora-ui-camel/src/partials/footer-content.hbs |  3 ++
 content/sitemap/_index.md                       |  3 ++
 layouts/download/download.html                  |  2 +-
 layouts/partials/footer.html                    |  3 ++
 layouts/sitemap/sitemap.html                    | 41 +++++++++++++++++++++++++
 7 files changed, 70 insertions(+), 1 deletion(-)

diff --git a/antora-ui-camel/src/css/site.css b/antora-ui-camel/src/css/site.css
index e00ed3e..2b831d0 100644
--- a/antora-ui-camel/src/css/site.css
+++ b/antora-ui-camel/src/css/site.css
@@ -24,3 +24,4 @@
 @import 'misc.css';
 @import 'community.css';
 @import 'docs.css';
+@import 'sitemap.css';
diff --git a/antora-ui-camel/src/css/sitemap.css b/antora-ui-camel/src/css/sitemap.css
new file mode 100644
index 0000000..2f64647
--- /dev/null
+++ b/antora-ui-camel/src/css/sitemap.css
@@ -0,0 +1,18 @@
+.sitemap h1 {
+  text-align: center;
+}
+
+.sitemap ul.sitemap-list {
+  list-style-type: none;
+  -webkit-columns: 2;
+  -moz-columns: 2;
+  columns: 2;
+  padding: 0;
+  column-gap: 25%;
+}
+
+@media screen and (max-width: 626px) {
+  .sitemap ul.sitemap-list {
+    columns: 1;
+  }
+}
diff --git a/antora-ui-camel/src/partials/footer-content.hbs b/antora-ui-camel/src/partials/footer-content.hbs
index c4c3953..63e8c44 100644
--- a/antora-ui-camel/src/partials/footer-content.hbs
+++ b/antora-ui-camel/src/partials/footer-content.hbs
@@ -61,6 +61,9 @@
                 <div class="context">
                     <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.apache.org/foundation/policies/conduct">Code of Conduct</a>
                 </div>
+                <div class="context">
+                    <a href="{{siteRootPath}}/sitemap/">Sitemap</a>
+                </div>
             </div>
             <div class="footer-icons">
                 <a rel="noopener noreferrer nofollow" href="https://github.com/apache/camel/" title="Collaborate on GitHub"><svg class="brand-icon"><use xlink:href="{{uiRootPath}}/img/brand-logos.svg#github" /></svg></a>
diff --git a/content/sitemap/_index.md b/content/sitemap/_index.md
new file mode 100644
index 0000000..1d825fe
--- /dev/null
+++ b/content/sitemap/_index.md
@@ -0,0 +1,3 @@
+---
+title: "Camel Website Sitemap"
+---
\ No newline at end of file
diff --git a/layouts/download/download.html b/layouts/download/download.html
index a37d93b..b27d5c1 100644
--- a/layouts/download/download.html
+++ b/layouts/download/download.html
@@ -2,7 +2,7 @@
 
 <div class="body">
     <main role="main">
-        <article class="static doc">
+        <article class="static doc docs">
             <h1>{{ .Title }}</h1>
 
             <h2>Latest releases</h2>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 0bfdfd9..074eefc 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -67,6 +67,9 @@
                 <div class="context">
                     <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.apache.org/foundation/policies/conduct">Code of Conduct</a>
                 </div>
+                <div class="context">
+                    <a href="/sitemap/">Sitemap</a>
+                </div>
             </div>
             <div class="footer-icons">
                 <a rel="noopener noreferrer nofollow" href="https://github.com/apache/camel/" title="Collaborate on GitHub"><svg class="brand-icon"><use href="{{ "_/img/brand-logos.svg#github" | relURL }}" /></svg></a>
diff --git a/layouts/sitemap/sitemap.html b/layouts/sitemap/sitemap.html
new file mode 100644
index 0000000..d2853b7
--- /dev/null
+++ b/layouts/sitemap/sitemap.html
@@ -0,0 +1,41 @@
+{{ partial "header.html" . }}
+
+<div class="body">
+    <main class="article">
+        <div class="content">
+            <article class="doc static sitemap"> 
+                <h1 class="page">{{ .Title }} </h1>
+                <a href="/"><h2>Overview</h2></a>
+                <ul class="sitemap-list">
+                    {{ $currentPage := .Permalink }}
+                    {{ range .Site.Sections }}
+                        {{ if not (eq $currentPage .Permalink) }} 
+                        <li><a href = "{{ .Permalink }}" >{{.Title}}</a></li>
+                        {{end}}
+                    {{ end }}
+                    <li><a href = "/community/">Community</a></li>
+                </ul>
+                <a href="/docs/"><h2>Documentation</h2></a>
+                <ul class="sitemap-list">
+                    <li><a href = "/manual/latest/getting-started.html">Getting Started</a></li>
+                    <li><a href = "/manual/latest/">User Manual</a></li>
+                    <li><a href = "/manual/latest/faq/">FAQ</a></li>
+                    <li><a href = "/components/latest/">Component Reference</a></li>
+                    <li><a href = "/components/latest/dataformats/">Data Formats</a></li>
+                    <li><a href = "/components/latest/eips/enterprise-integration-patterns.html">EIP</a></li>
+                </ul>
+                <a href="/docs/"><h2>Sub Projects</h2></a>
+                <ul class="sitemap-list">
+                    <li><a href = "/manual/latest/">Camel Core</a></li>
+                    <li><a href = "/camel-k/latest/">Camel K</a></li>
+                    <li><a href = "/camel-quarkus/latest/">Camel Quarkus</a></li>
+                    <li><a href = "/camel-spring-boot/latest/">Camel Spring Boot</a></li>
+                    <li><a href = "/camel-kafka-connector/latest/">Camel Kafka Connector</a></li>
+                    <li><a href = "/camel-karaf/latest/">Camel Karaf</a></li>
+                </ul>
+            </article>
+        </div>
+    </main>
+</div>
+
+{{ partial "footer.html" . }}
\ No newline at end of file