From 7e7d7c5a8db224b5abd3742bd2a9230c91489e49 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 8 Sep 2017 16:47:22 +1000 Subject: [PATCH] New image carousel, new asset loading --- .../layouts/_default/baseof.html | 12 ++- site/themes/citra-bs-theme/layouts/index.html | 9 +- .../layouts/partials/jumbotron.html | 16 ++- src/js/vendor/slick.min.js | 18 ++++ src/scss/citra-theme.scss | 38 +++---- src/scss/style.scss | 1 + src/scss/vendor/slick.scss | 98 +++++++++++++++++++ 7 files changed, 164 insertions(+), 28 deletions(-) create mode 100644 src/js/vendor/slick.min.js create mode 100644 src/scss/vendor/slick.scss diff --git a/site/themes/citra-bs-theme/layouts/_default/baseof.html b/site/themes/citra-bs-theme/layouts/_default/baseof.html index 43263dc..591b003 100755 --- a/site/themes/citra-bs-theme/layouts/_default/baseof.html +++ b/site/themes/citra-bs-theme/layouts/_default/baseof.html @@ -24,12 +24,14 @@ {{ end }} {{- if .IsHome }}Homepage{{- else }}{{ .Title }}{{- end }} | {{ .Site.Title }} | Nintendo 3DS Emulator - - + - - + + + {{ if eq (getenv "HUGO_ENV") "PRD" }} @@ -114,8 +116,8 @@ - {{ block "scripts" . }}{{ end }} + {{ block "scripts" . }}{{ end }} diff --git a/site/themes/citra-bs-theme/layouts/index.html b/site/themes/citra-bs-theme/layouts/index.html index 0880db0..c3dc4f7 100755 --- a/site/themes/citra-bs-theme/layouts/index.html +++ b/site/themes/citra-bs-theme/layouts/index.html @@ -14,6 +14,13 @@ {{ define "scripts" }} {{ end }} diff --git a/site/themes/citra-bs-theme/layouts/partials/jumbotron.html b/site/themes/citra-bs-theme/layouts/partials/jumbotron.html index 8e00377..202c76c 100644 --- a/site/themes/citra-bs-theme/layouts/partials/jumbotron.html +++ b/site/themes/citra-bs-theme/layouts/partials/jumbotron.html @@ -7,23 +7,29 @@