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

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2019-11-11 19:56:42 +0300
committerGitHub <noreply@github.com>2019-11-11 19:56:42 +0300
commit7e258516c88d59ab4d1c2bc0f273783c79534df2 (patch)
tree8029bf5a770bf31572b333e1d51aa0c43d9fcdbe /layouts/partials
parentba311bbb777d8e97e5d455678b72abcafe4976f1 (diff)
Move to gulp (#224)
* Small changes to theme config file Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update to use gulp This will remove the need for codekit and lets `gulp dev` be the method for building stylesheets and javascript files Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update docs for clarity on new styles Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer_scripts.html1
-rw-r--r--layouts/partials/head_includes.html2
-rw-r--r--layouts/partials/header.html6
3 files changed, 6 insertions, 3 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html
index e162f5d..df3fd34 100644
--- a/layouts/partials/footer_scripts.html
+++ b/layouts/partials/footer_scripts.html
@@ -1,4 +1,5 @@
<script src={{ "js/castanet-min.js" | absURL }}></script>
+<script src="/audiojs/audio.min.js"></script>
<script>
$("#share").jsSocials({
shares: [
diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html
index 5b9ead9..825485d 100644
--- a/layouts/partials/head_includes.html
+++ b/layouts/partials/head_includes.html
@@ -13,3 +13,5 @@
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
+<link href="/css/all.css" rel="stylesheet"> <!--load all styles -->
+
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 728a191..689ad54 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,11 +1,11 @@
-<nav class="navbar fixed-top navbar-toggleable-sm navbar-light bg-faded">
+<nav class="navbar fixed-top navbar-expand-md navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</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="collapse navbar-collapse" id="navbarSupportedContent">
+ <div id="navbarNavDropdown" class="navbar-collapse collapse">
<ul class="navbar-nav mr-auto">
{{ $currentPage := . }}
{{ range sort .Site.Menus.main "Identifier"}}
@@ -32,7 +32,7 @@
<ul class="navbar-nav ml-auto">
{{ if (isset .Site.Params.social "facebook" ) }}
- <li>
+ <li class = "nav-item">
<a class = "social-links" href="https://facebook.com/{{ .Site.Params.social.facebook }}"><i class="fab fa-facebook-square fa-2x"></i></a>
</li>
{{ end }}