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

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormblum <me@mblum.me>2017-07-05 06:13:47 +0300
committermblum <me@mblum.me>2017-07-05 07:47:48 +0300
commit67bb9915b1cdedc09a49a80c7e4bc89256336c15 (patch)
tree9ccfb7ffa582073defa4d3d4ece9fda6ade36cd8 /layouts/partials
parent24aeaa8ea71831072243f0705e7ff78560c1cacb (diff)
[JAVASCRIPT] support for Bootstrap 4 javascript and a post on the exampleSite demoing it
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html1
-rw-r--r--layouts/partials/includes.html2
-rw-r--r--layouts/partials/javascript.html4
-rw-r--r--layouts/partials/meta.html2
-rw-r--r--layouts/partials/nav.html2
5 files changed, 8 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 864c6e8..6ad04cc 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,6 +5,7 @@
</footer>
</div>
</div>
+ {{ partial "javascript.html" . }}
{{ partial "analytics.html" . }}
</body>
</html> \ No newline at end of file
diff --git a/layouts/partials/includes.html b/layouts/partials/includes.html
index 92ce1ed..3df1e74 100644
--- a/layouts/partials/includes.html
+++ b/layouts/partials/includes.html
@@ -1,2 +1,2 @@
<!-- CSS -->
-<link rel="stylesheet" href="/css/style.css"> \ No newline at end of file
+<link rel="stylesheet" href="/css/style.min.css"> \ No newline at end of file
diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html
new file mode 100644
index 0000000..7db374d
--- /dev/null
+++ b/layouts/partials/javascript.html
@@ -0,0 +1,4 @@
+<!-- jQuery first, then Tether, then Bootstrap JS. -->
+<script src="/js/dist/vendor/jquery/jquery.min.js"></script>
+<script src="/js/dist/vendor/tether/tether.min.js"></script>
+<script src="/js/dist/vendor/bootstrap/bootstrap.min.js"></script> \ No newline at end of file
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 9693843..d8cfbb9 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -1,7 +1,7 @@
<meta charset="utf-8" />
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
-<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
+<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="{{ .Params.Description }}">
<meta property="og:description" content="{{ .Params.Description }}" />
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index ad0a179..03f0931 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -4,7 +4,7 @@
<a href="{{ .Site.BaseURL }}/" class="site-avatar"><img src="{{ .Site.Params.avatar }}" /></a>
<div class="site-info">
- <h1 class="site-name"><a href="{{ .Site.BaseURL }}/">{{ .Site.Params.title }}</a></h1>
+ <h1 class="site-name"><a href="{{ .Site.BaseURL }}/">{{ .Site.Title }}</a></h1>
<p class="site-description">{{ .Site.Params.description }}</p>
</div>