Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/natarajmb/charaka-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNataraj Basappa <n5j.b5a@gmail.com>2018-08-23 23:05:19 +0300
committerNataraj Basappa <n5j.b5a@gmail.com>2018-08-23 23:05:19 +0300
commit4d378b2b3cb2960f0eb90af2b72b7731c6ee1add (patch)
tree7ecf55fd52ba0f893fb1d2e9bdeeae005d753d22
parent7bd44d3cdc75aada608e51b194a7d4643a0c9329 (diff)
Corrected links on header page
-rw-r--r--exampleSite/config.toml6
-rw-r--r--layouts/partials/header.html10
2 files changed, 8 insertions, 8 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c042ed0..5acc7f4 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -19,11 +19,11 @@ googleAnalytics = ""
enabled = "true"
[[params.social]]
- url = "http://localhost:1313"
+ url = "https://gohugo.io/about/"
fa_icon = "fas fa-info"
[[params.social]]
- url = "https://github.com/natarajmb"
+ url = "https://github.com/natarajmb/"
fa_icon = "fab fa-github"
[[params.social]]
@@ -31,5 +31,5 @@ googleAnalytics = ""
fa_icon = "fab fa-linkedin-in"
[[params.social]]
- url = "https://twitter.com/natarajmb"
+ url = "https://twitter.com/natarajmb/"
fa_icon = "fab fa-twitter"
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index cccc8e1..20369f4 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -8,23 +8,23 @@
<title>{{ .Title }}{{ if eq .IsHome false }} | {{ .Site.Title }}{{ end }}</title>
-<link rel="stylesheet" href="{{ $scratch.Get "baseURL" }}css/styles.css">
+<link rel="stylesheet" href="{{ $scratch.Get "baseURL" }}/css/styles.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"
integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
{{ with .Site.Params.highlight.style }}
-<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ . }}.min.css">
-<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ . }}.min.css" crossorigin="anonymous" />
+<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
<script>hljs.initHighlightingOnLoad();</script>
-<script src="{{ $scratch.Get "baseURL" }}js/highlight.js"></script>
+<script src="{{ $scratch.Get "baseURL" }}/js/highlight.js"></script>
{{ end }}
{{ if eq "true" .Site.Params.share.enabled }}
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.jssocials/1.4.0/jssocials.css" />
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.jssocials/1.4.0/jssocials-theme-minima.css" />
-<script type="text/javascript" src="{{ $scratch.Get "baseURL" }}js/jssocials.js"></script>
+<script type="text/javascript" src="{{ $scratch.Get "baseURL" }}/js/jssocials.js"></script>
{{ end }}
{{ .Scratch.Delete "baseURL" }}