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:43 UTC

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

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">