You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2021/03/02 16:23:41 UTC

[incubator-wayang-website] branch develop updated (0fdbda6 -> 5bcd354)

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

bertty pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git.


    from 0fdbda6  small changes
     new 4a68005  Correction on position menu in collapse version
     new cc4d97c  Redirect to https only new browser
     new 5bcd354  Redirect to https old browsers

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:
 _config.yml           |  1 +
 _includes/head.html   |  9 ++++++++-
 _includes/header.html | 23 ++++++++++++-----------
 3 files changed, 21 insertions(+), 12 deletions(-)


[incubator-wayang-website] 03/03: Redirect to https old browsers

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

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit 5bcd354bea13faa06e2f7fd79a7e808049f77d26
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Tue Mar 2 13:23:30 2021 -0300

    Redirect to https old browsers
---
 _includes/head.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/_includes/head.html b/_includes/head.html
index 48675a5..1670fea 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -22,7 +22,11 @@
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
     <meta http-equiv="Refresh" content="0;URL=https://wayang.apache.org{{page.url}}" />
-
+    <script type="text/javascript">
+        if(window.location.protocol != 'https:') {
+            location.href =   location.href.replace("http://", "https://");
+        }
+    </script>
 
     <title>Apache Wayang - {{page.title}}</title>
     <link rel="icon" href="{{ "assets/img/logo/favicon-pluma.ico" | absolute_url }}">


[incubator-wayang-website] 01/03: Correction on position menu in collapse version

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

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit 4a68005476d4e1a7ec4fbc7465ef5bb0c411a741
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Tue Mar 2 13:09:39 2021 -0300

    Correction on position menu in collapse version
---
 _includes/header.html | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/_includes/header.html b/_includes/header.html
index 5a0d313..fa015e3 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -30,19 +30,21 @@
 
 <nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top shadow-lg">
     <div class="container d-flex justify-content-between w-100">
-            <div class="mr-auto p-2">
-                <a class="navbar-brand" href="{% link index.md %}">
-                    <img style="max-height: 75px" src="{{ "assets/img/logo/logo_400x160.png" | absolute_url }}"/>
-                </a>
-                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
-                    <span class="navbar-toggler-icon"></span>
-                </button>
+            <div class="mr-auto p-2 w-100">
+                <div class="d-flex">
+                    <a class="navbar-brand mr-auto" href="{% link index.md %}">
+                        <img style="max-height: 75px" src="{{ "assets/img/logo/logo_400x160.png" | absolute_url }}"/>
+                    </a>
+                    <button class="navbar-toggler ml-auto align-self-center" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+                        <span class="navbar-toggler-icon"></span>
+                    </button>
+                </div>
+
             </div>
 
-            <div class="p-2">
-                <div class="collapse navbar-collapse" id="navbarSupportedContent">
+            <div>
+                <div class="p-2 collapse navbar-collapse" id="navbarSupportedContent">
                     <div class="navbar-nav">
-
                         {% for entry in site.data.navigation %}
                         {% if entry.url == current_page %}
                         {% assign current = 'active' %}
@@ -72,7 +74,6 @@
                         </li>
                         {% endif %}
                         {% endfor %}
-                        </ul>
                     </div>
                 </div>
             </div>


[incubator-wayang-website] 02/03: Redirect to https only new browser

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

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit cc4d97c8ee70c0d865b7e2ed23b85df92a57a3a3
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Tue Mar 2 13:18:41 2021 -0300

    Redirect to https only new browser
---
 _config.yml         | 1 +
 _includes/head.html | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/_config.yml b/_config.yml
index 9e207a0..29306bd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -18,6 +18,7 @@
 url: "http://127.0.0.1:4000"
 baseurl: "/"
 title: "Apache Wayang"
+permalink: pretty
 collections:
   publications:
     output: true
diff --git a/_includes/head.html b/_includes/head.html
index d14a7f5..48675a5 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -21,8 +21,11 @@
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
+    <meta http-equiv="Refresh" content="0;URL=https://wayang.apache.org{{page.url}}" />
+
+
     <title>Apache Wayang - {{page.title}}</title>
-    <link rel="icon" href="{ "assets/img/logo/favicon-pluma.ico" | absolute_url }}">
+    <link rel="icon" href="{{ "assets/img/logo/favicon-pluma.ico" | absolute_url }}">
 
     <!-- Bootstrap CSS -->
     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">