converted to all flexbox, added gallery shortcode

master
David Kebler 2017-03-04 08:12:31 -08:00
parent d82d586f6d
commit b86b0e7717
89 changed files with 1560 additions and 13212 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/dist/
/misc/

9
.htmlhintrc Normal file
View File

@ -0,0 +1,9 @@
{
"tagname-lowercase": true,
"doctype-first": false,
"tag-pair": true,
"attr-value-double-quotes": true,
"attr-value-not-empty": true,
"attr-no-duplication": true,
"space-tab-mixed-disabled": "false"
}

View File

@ -1,6 +0,0 @@
+++
Description = ""
Keywords = []
Tags = []
Categories = []
+++

1
assets/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/media/

5
assets/css/custom.css Normal file
View File

@ -0,0 +1,5 @@
/* picture captions */
.lg-sub-html {
font-size: 2em;
font-weight: bold;
}

View File

@ -0,0 +1,64 @@
#galleries a {
display: inline-block;
}
#galleries .meta {
font-size: 0.9em;
width: 100%;
margin: 0.5em 0;
color: #666;
line-height: 1.2em;
}
#galleries > li {
display: inline-block;
margin-right: 2em;
margin-bottom: 3em;
}
#galleries .grid {
width: 200px;
}
#galleries .grid li {
float: left;
padding: 0 0.2em 0.2em 0;
width: 50%;
}
#galleries .grid img {
display: block;
width: 100%;
}
#media {
margin-bottom: 3em;
}
#media li {
display: inline-block;
margin-right: 0.2em;
margin-bottom: 0.2em;
position: relative;
}
#media li .video-overlay {
left: 50%;
height: 48px;
margin-left: -24px;
margin-top: -24px;
position: absolute;
top: 50%;
width: 48px;
}
#lg-gallery .lg-slide .object {
transition-duration: 0.3s;
}
#lg-gallery .video {
height: 100%;
left: 0;
padding-bottom: 100px;
position: absolute;
top: 0;
width: 100%;
}
#lg-gallery video {
max-width: 100%;
}
/* captions */
.lg-sub-html {
bottom: 100px;
/* always display above the thumbnails */
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,28 @@
/*
-----------------------------------
Photo and video viewer
This is shared by all templates
-----------------------------------
*/
#lg-gallery .lg-slide .object {
transition-duration: 0.3s;
}
#lg-gallery .video {
height: 100%;
left: 0;
padding-bottom: 100px;
position: absolute;
top: 0;
width: 100%;
}
#lg-gallery video {
max-width: 100%;
}
/* always display captions above the thumbnails */
.lg-sub-html {
bottom: 100px;
}

164
assets/css/navbar.css Normal file
View File

@ -0,0 +1,164 @@
/*body, p, h1, h2, h3, h4, ul, li {
margin: 0;
padding: 0;
}*/
/*body {
max-height: 100vh;
}*/
#nav-container > nav > ul {
list-style-type: none;
}
/* NAVIGATION */
#nav-background {
position: fixed;
top: 0;
z-index: 9000;
width: 100%;
background-color: white;
border-bottom: 1px solid #ddd;
/*
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
*/
}
#nav-container {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
max-width: 1000px;
margin: 0 auto;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-family: Arial, Helvetica, sans-serif;
}
#nav-header {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
#nav-logo {
color: #444;
text-decoration: none;
}
#nav-logo:hover {
color: #666;
}
.nav-ul {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
max-width: 700px;
}
.nav-ul > li {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.nav-link {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
color: #444;
text-decoration: none;
font-weight: 600;
font-size: 1.2rem;
-webkit-transition: 200ms;
transition: 200ms;
}
.nav-link:hover {
background-color: #f1f1f1;
}
.active-link {
background-color: #f1f1f1;
}
/* END NAVIGATION */
/* MOBILE MENU */
@media screen and (max-width: 700px) {
#nav-container {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
text-align: center;
}
#nav-menu-button {
padding: 1rem;
background-color: #f1f1f1;
cursor: pointer;
}
.nav-ul {
display: block;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
overflow-y: scroll;
direction: rtl;
max-height: 80vh;
}
.hide-ul {
max-height: 0vh;
}
.nav-link {
padding: 1rem 0;
font-size: 1.3rem;
border-bottom: 1px solid #f4f4f4;
}
}
/* END MOBILE MENU */
/* DESKTOP MENU */
@media screen and (min-width: 701px) {
#nav-menu-button {
display: none;
}
.nav-link {
padding: 1rem 1.5rem;
}
}
/* This moves the logo so that it's not touching the left side */
@media screen and (max-width: 1040px) {
#nav-logo {
margin-left: 1rem;
}
}
/* END DESKTOP MENU */

469
assets/css/page.css Normal file
View File

@ -0,0 +1,469 @@
/*-------------
General
-------------*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font: normal 16px sans-serif;
color: #555;
}
ul, nav{
list-style: none;
}
a{
text-decoration: none;
color: inherit;
cursor: pointer;
opacity: 0.9;
}
a:hover{
opacity: 1;
}
a.btn{
color: #fff;
border-radius: 4px;
text-transform: uppercase;
background-color: #2196F3;
font-weight: 800;
text-align: center;
}
hr{
width: 150px;
height: 2px;
background-color: #2196F3;
border: 0;
margin-bottom: 80px;
}
.divider {
width: 400px;
border-top: 1px solid #f8f8f8;
border-bottom: 1px solid rgba(0,0,0,0.2);
}
section{
display: flex;
flex-direction: column;
align-items: center;
padding: 125px 100px;
}
@media (max-width: 1000px){
section{
padding: 100px 50px;
}
}
@media (max-width: 600px){
section{
padding: 80px 30px;
}
}
section h3.title{
color: #414a4f;
text-transform: capitalize;
font: bold 32px 'Open Sans', sans-serif;
margin-bottom: 35px;
text-align: center;
}
section p{
max-width: 800px;
text-align: center;
margin-bottom: 35px;
padding: 0 20px;
line-height: 2;
}
ul.grid{
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/*-------------
Header
-------------
header{
position: absolute;
top: 0;
left: 0;
z-index: 10;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
color: #fff;
padding: 35px 100px 0;
}
header h2{
font-family: 'Quicksand', sans-serif;
}
header nav{
display: flex;
}
header nav li{
margin: 0 15px;
}
header nav li:first-child{
margin-left: 0;
}
header nav li:last-child{
margin-right: 0;
}
@media (max-width: 1000px){
header{
padding: 20px 50px;
}
}
@media (max-width: 700px){
header{
flex-direction: column;
}
header h2{
margin-bottom: 15px;
}
}
*/
/*----------------
Hero Section
----------------*/
.hero{
/*position: relative;*/
justify-content: center;
min-height: 100vh;
color: #fff;
text-align: center;
padding-top: 10%; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding-bottom: 10%;
text-align: center;
background-size: contain;
}
.hero .background-image{
background-image: url("../images/intro.jpg") no-repeat center center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-color: #2196F3;
z-index: -1;
}
.hero .background-image:after{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #414a4f;
opacity: 0.75;
}
.hero h1{
font: bold 60px 'Open Sans', sans-serif;
margin-bottom: 15px;
}
.hero h3{
font: normal 28px 'Open Sans', sans-serif;
margin-bottom: 40px;
}
.hero a.btn{
padding: 20px 46px;
}
@media (max-width: 800px){
.hero{
min-height: 600px;
}
.hero h1{
font-size: 48px;
}
.hero h3{
font-size: 24px;
}
.hero a.btn{
padding: 15px 40px;
}
}
/*--------------------
Our Work Section
---------------------*/
.оur-work{
background-color: #fff;
}
.our-work .grid li{
padding: 20px;
height: 350px;
border-radius: 3px;
background-clip: content-box;
background-size: cover;
background-position: center;
background-color: #333;
}
.our-work .grid li.small{
flex-basis: 40%;
}
.our-work .grid li.large{
flex-basis: 60%;
}
@media (max-width: 1000px){
.our-work .grid li.small,
.our-work .grid li.large{
flex-basis: 100%;
}
}
/*----------------------
Features Section
----------------------*/
.features{
background-color: #f7f7f7;
}
.features .grid li{
padding: 0 30px;
flex-basis: 33%;
text-align: center;
}
.features .grid li i{
font-size: 50px;
color: #2196F3;
margin-bottom: 25px;
}
.features .grid li h4{
color: #555;
font-size: 20px;
margin-bottom: 25px;
}
.features .grid li p{
margin: 0;
}
@media (max-width: 1000px){
.features .grid li{
flex-basis: 70%;
margin-bottom: 65px;
}
.features .grid li:last-child{
margin-bottom: 0;
}
}
@media (max-width: 600px){
.features .grid li{
flex-basis: 100%;
}
}
/*--------------------
Reviews Section
--------------------*/
.reviews{
background-color: #fff;
}
.reviews .quote{
text-align: center;
width: 80%;
font-size: 22px;
font-weight: 300;
line-height: 1.5;
margin-bottom: 20px;
padding: 0;
}
.reviews .author{
font-size: 18px;
margin-bottom: 50px;
}
.reviews .author:last-child{
margin-bottom: 0;
}
@media (max-width: 1000px){
.reviews .quote{
font-size: 20px;
}
.reviews .author{
font-size: 16px;
}
}
/*---------------------
Contact Section
---------------------*/
.contact{
background-color: #f7f7f7;
}
.contact form{
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 800px;
width: 80%;
}
.contact form input{
padding: 15px;
flex: 1;
margin-right: 30px;
font-size: 18px;
color: #555;
}
.contact form .btn{
padding: 18px 42px;
}
@media (max-width: 800px){
.contact form input{
flex-basis: 100%;
margin: 0 0 20px 0;
}
}
/*-------------
Footer
-------------*/
footer{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
background-color: #414a4f;
padding: 60px 0;
}
footer ul{
display: flex;
margin-bottom: 25px;
font-size: 32px;
}
footer ul li{
margin: 0 8px;
}
footer ul li:first-child{
margin-left: 0;
}
footer ul li:last-child{
margin-right: 0;
}
footer p{
text-transform: uppercase;
font-size: 14px;
color: rgba(255,255,255,0.6);
margin-bottom: 10px;
}
footer p a{
color: #fff;
}
@media (max-width: 700px){
footer{
padding: 80px 15px;
}
}
/* -- Demo ads -- */
@media (max-width: 1200px) {
#bsaHolder{ display:none;}
}

199
assets/css/singlepage.css Normal file
View File

@ -0,0 +1,199 @@
/*
*/
body,
html {
width: 100%;
height: 100%;
}
body,h1,h2,h3,h4,h5,h6 {
font-family: Roboto,Helvetica,Arial,sans-serif;
font-weight: 700;
}
/* section tag */
section {
}
.navbar {
background-color: white;
}
.navbar-header div a , .navbar-nav > li > a {
color: black;
text-decoration: none;
}
#intro {
height: 100%;
padding-top: 10%; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding-bottom: 10%;
text-align: center;
/*background-image: url("../images/intro.jpg") no-repeat center center;
background-size: contain;*/
}
#intro, #intro h1, #intro h2, #intro h3, #intro h4, #intro p {
color: white;
}
.intro-text {
position: relative;
padding-top: 20%;
padding-bottom: 20%;
}
.intro-text > h1 {
margin: 0;
text-shadow: 5px 5px 5px rgba(0,0,0,0.6);
font-size: 6em;
}
.intro-text > h2 {
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 4em;
}
.intro-text > h3 {
font-size: 2em;
}
.intro-divider {
width: 400px;
border-top: 1px solid #f8f8f8;
border-bottom: 1px solid rgba(0,0,0,0.2);
}
/*section class*/
.section {
padding: 50px 0;
border-top: 2px solid black;
}
.section-heading {
margin-bottom: 30px;
}
.section-heading-spacer {
float: left;
width: 200px;
border-top: 3px solid #e7e7e7;
}
.section-odd {
color: black;
background-color: white;
}
.section-even {
color: white;
background-color: dimgrey;
}
@media(max-width:767px) {
#intro {
background-image: url(./imgs/intro-phone.jpg);
}
.intro-text {
padding-bottom: 15%;
}
.intro-text > h1 {
font-size: 3em;
}
ul.intro-social-buttons > li {
display: block;
margin-bottom: 20px;
padding: 0;
}
ul.intro-social-buttons > li:last-child {
margin-bottom: 0;
}
.intro-divider {
width: 100%;
}
}
.contact {
padding: 100px 0;
color: #f8f8f8;
background: url(../img/intro.jpg) no-repeat center center;
background-size: cover;
}
.contact h2 {
margin: 0;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 3em;
}
.contact ul {
margin-bottom: 0;
}
.contact-social-buttons {
float: right;
margin-top: 0;
}
@media(max-width:1199px) {
ul.contact-social-buttons {
float: left;
margin-top: 15px;
}
}
@media(max-width:767px) {
.contact h2 {
margin: 0;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 3em;
}
ul.contact-social-buttons > li {
display: block;
margin-bottom: 20px;
padding: 0;
}
ul.contact-social-buttons > li:last-child {
margin-bottom: 0;
}
}
footer {
padding: 50px 0;
font-size: 1.1em;
background-color: slategray;
color: white;
}
footer a, a:visited {
color: white;
text-decoration: none;
}
footer a:hover {
color: black;
text-decoration: none;
}

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 282 KiB

After

Width:  |  Height:  |  Size: 282 KiB

BIN
assets/images/intro.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

15
assets/js/analytics.js Normal file
View File

@ -0,0 +1,15 @@
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new
Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', '{{ .Site.Params.googleAnalytics }}', 'auto');
ga('send', 'pageview');

12
assets/js/docready.js Normal file
View File

@ -0,0 +1,12 @@
// requires jquery
$(document).ready(function () {
$("#media").lightGallery({
thumbnail: true,
thumbWidth: 80,
controls: true,
loop: false,
download: true,
counter: true,
// videojs: true
});
});

12
assets/js/navbar.js Normal file
View File

@ -0,0 +1,12 @@
(function () {
var navButton = document.getElementById("nav-menu-button"),
navUl = document.getElementsByClassName("nav-ul");
function toggleMobileMenu() {
navUl[0].style.transition = "max-height 0.5s";
navUl[0].classList.toggle("hide-ul");
}
navButton.onclick = toggleMobileMenu;
}());

13
assets/js/scroll.js Normal file
View File

@ -0,0 +1,13 @@
// requires jquery
$('a[href*="#"]:not([href="#"])').click(function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html, body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});

View File

@ -1,16 +1,51 @@
baseurl = ""
# theme = "landing-page-hugo"
languageCode = "en-us"
title = "For Sale: 4005 Rock Way, Central Point, OR"
canonifyUrls = "true"
staticDir ="assets"
publishDir = "dist"
[params]
city_state = "Central Point, Oregon"
address = "4005 Rock Way"
announce = "For Sale"
custom_css = ["css/local.css"]
navbar_text="For Sale by Owner"
intro_bg_img="front-view.jpg"
custom_css = ["css/custom.css"]
# font = "Pridi" # a valid google font name, default Roboto
[params.navbar]
text = "For Sale by Owner" # default is to use the page title
font = "Baloo"
color = "green"
bg_color = "blue"
[params.intro]
# img = "intro.jpg"
# img_medium = "intro-medium.jpg" # min 1024
# img_small "intro-small.jpg"
# font = "Indie Flower" # a valid google font name, default Roboto
color = "purple"
headline = "For Sale"
# font_headline = "Lato" # a valid google font name, defaults to intro font
# color_headline = "red"
subheadline = "4005 Rock Way"
# color_subheadline = "red"
subsubheadline = "Central Point, Oregon"
# color_subsubheadline = "blue"
lines = ["A Rambler Style House","Close to Schools"]
# color_lines = "blue"
divider = false
# for background image in static/imgs
# put intro.jpg and intro-phone.jpg for background images.
# intro-phone.jpg should be suitable for small devices
# [params.sections]
# # font = "Lato"
# # font_headline = "Lato"
# [params.sections.odd]
# # color = ""
# # bg_color = ""
# [params.sections.even]
# # color = ""
# # bg_color = ""
[[params.social]]
title = "email"

View File

@ -4,4 +4,4 @@ title = "Photo Gallery"
link_text = "Photos"
weight = 2
+++
Photo Show using shortcode
{{% gallery %}}

View File

@ -1,6 +1,5 @@
{{ partial "head.html" . }}
{{ partial "navbar.html" . }}
{{ partial "intro.html" . }}
{{ partial "hero.html" . }}
{{ partial "sections.html" . }}
{{ partial "contact.html" . }}
{{ partial "footer.html" . }}

View File

@ -23,7 +23,7 @@
</li>
{{ end }} -->
</ul>
<p class="copyright text-muted small">{{ .Title }}</p>
<p class="">{{ .Title }}</p>
</div>
<div class="col-md-4">
Email Owner:

View File

@ -2,35 +2,9 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<base href="{{ .Site.BaseURL }}">
<title>{{ .Title }}</title>
<!-- Bootstrap Core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="/css/landing-page.css" rel="stylesheet">
<!-- Local CSS -->
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}
<!-- Custom Fonts -->
<link href="/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
{{ partial "head/meta.html" . }}
{{ partial "head/fonts.html" . }}
{{ partial "head/css.html" . }}
</head>
<body>

View File

@ -0,0 +1,20 @@
<!-- CSS External Libraries -->
<!-- Light Gallery-->
<link href="https://cdn.jsdelivr.net/g/lightgallery@1.3.9(css/lightgallery.min.css+css/lg-transitions.css)" rel="stylesheet">
<!-- Site Base CSS -->
<link href="/css/page.css" rel="stylesheet">
<!-- Site Navigation CSS -->
<link href="/css/navbar.css" rel="stylesheet">
<!-- configurable styles -->
{{ partial "head/styles.html" . }}
<!-- configurable styles -->
{{ partial "head/gallery.html" . }}
<!-- Custom/Override CSS files -->
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}

View File

@ -0,0 +1,34 @@
<!-- icon fonts -->
<link href="https://cdn.jsdelivr.net/fontawesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- base font -->
<link href="http://fonts.googleapis.com/css?family=Roboto:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- Configurable Fonts -->
{{ with .Site.Params }}
{{ with .font }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
<link href="http://fonts.googleapis.com/css?family={{ .font | default "Roboto" }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ with .navbar.font }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
{{ with .intro.font }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
{{ with .intro.font_headline }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
{{ with .sections.font }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
{{ with .sections.font_headline }}
<link href="http://fonts.googleapis.com/css?family={{ . }}:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
{{ end }}
{{ end }}

View File

@ -0,0 +1,3 @@
<link rel="stylesheet" href="css/gallery/style.css" />
<link rel="stylesheet" href="css/gallery/viewer.css" />
<link rel="stylesheet" href="css/gallery/video-js.css" />

View File

@ -0,0 +1,6 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<base href="{{ .Site.BaseURL }}">

View File

@ -0,0 +1,27 @@
<!-- Configurable Styles partial to appear in head -->
<style>
{{ with .Site.Params.font }}
body,h1,h2,h3,h4,h5,h6 { font-family:{{ . }},Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .Site.Params }}
{{ with .navbar }}
{{ with .font }}
.navbar { font-family:{{ . }},Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .bg_color }}
.navbar { background-color: {{ . }}; }
{{ end }}
{{ with .color }}
.navbar-brand div a, .navbar-nav > li > a { color: {{ . }}; }
{{ end }}
{{ end }} /* end navbar */
{{ end }}
</style>

View File

@ -0,0 +1,77 @@
<!-- Configurable Styles partial to appear in head -->
{{ with $.Site.Params }}
<style>
{{ with .font }}
body,h1,h2,h3,h4,h5,h6 { font-family:{{ . }},Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .navbar }}
{{ with .font }}
.navbar { font-family:{{ . }},Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .bg_color }}
.navbar { background-color: {{ . }}; }
{{ end }}
{{ with .color }}
.navbar-header > a, .navbar-nav > li > a { color: {{ . }}; }
{{ end }}
{{ end }} /* end navbar */
{{ with .intro }}
{{ with .img }}
#intro {background-image: url("../images/{{ . }}");}
{{ end }}
{{ with .font }}
#intro, #intro h1, #intro h2, #intro h3, #intro h4, #intro p { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .color }}
#intro, #intro h1, #intro h2, #intro h3, #intro h4, #intro p { color: {{ . }}; }
{{ end }}
{{ with .font_headline }}
#intro h1, #intro h2, #intro h3 { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .color_headline }}
#intro > h1 { color: {{ . }}; }
{{ end }}
{{ with .color_subheadline }}
#intro > h2 { color: {{ . }}; }
{{ end }}
{{ with .color_subsubheadline }}
#intro > h3 { color: {{ . }}; }
{{ end }}
{{ end }} /* end intro */
{{ with .sections }}
{{ with .font }}
.section, .section h1, .section h2, .section h3, .section p { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .font_headline }}
.section h1, .section h2, .section h3, { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
{{ end }}
{{ with .odd }}
.section-odd {
color: {{ .color }}; }
background-color: {{ .bg_color }}; }
{{ end }}
{{ end }} /* end sections */
*/
</style>
{{ end }}

View File

@ -0,0 +1,12 @@
<section class="hero">
<div class="background-image" ></div>
{{ with .Site.Params.intro }}
{{ with .headline }}<h1>{{ . }}</h1>{{ end }}
{{ with .subheadline }}<h2>{{ . }}</h2>{{ end }}
{{ with .subsubheadline }}<h3>{{ . }}</h3>{{ end }}
{{ with .divider }}<hr class="divider">{{ end }}
{{ range .lines }}
<h4> {{ . }}</h4>
{{ end }}
{{ end }}
</section>

View File

@ -1,24 +0,0 @@
<section id="intro">
<!-- Header -->
<div class="intro" style="background-image: url(../img/{{ .Site.Params.intro_bg_img }} );">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-text">
<h1>{{ .Site.Params.announce }}</h1>
<h2>{{ .Site.Params.address }}</h2>
<h3>{{ .Site.Params.city_state }}</h3>
<hr class="intro-divider">
</div>
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.intro-header -->
</section>

View File

@ -1,27 +1,18 @@
<!-- jQuery Version 1.11.0 -->
<script src="/js/jquery-1.11.0.js"></script>
<!-- jQuery CDN -->
<script src="https://cdn.jsdelivr.net/jquery/3.1.1/jquery.min.js"></script>
<!-- Plugin JavaScript -->
<script src="/js/jquery.easing.min.js"></script>
<!-- light gallery and modules/plugins -->
<script src="https://cdn.jsdelivr.net/g/lightgallery,lg-autoplay,lg-pager,lg-thumbnail,lg-video"></script>
<!-- Bootstrap Core JavaScript -->
<script src="/js/bootstrap.min.js"></script>
<!-- Flex NavBar JavaScript -->
<script src="js/scroll.js"></script>
<!-- Custom Theme JavaScript -->
<script src="js/landing-page.js"></script>
<!-- Flex NavBar JavaScript -->
<script src="js/navbar.js"></script>
{{ if isset .Site.Params "googleAnalytics" }}
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ .Site.Params.googleAnalytics }}', 'auto');
ga('send', 'pageview');
</script>
<script src="js/analytics.js"></script>
{{ end }}
<!-- Document Ready - Start -->
<script src="js/docready.js"></script>

View File

@ -1,33 +1,25 @@
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="page-scroll navbar-brand" href="#intro">{{ .Site.Params.Navbar_text }}</a>
<div id="nav-background">
<div id="nav-container">
<header id="nav-header">
<h1><a href="#" id="nav-logo">{{ .Site.Params.navbar.text | default .Site.Title }}</a></h1>
<div id="nav-menu-button fa fa-bars">
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{{ range .Data.Pages }}
<li>
<a class="page-scroll" href="#{{ .File.BaseFileName }}">
{{ if isset .Params "link_text" }}
{{ index .Params "link_text" }}
{{ else }}
{{ index .Title }}
{{ end }}
</a>
</li>
{{ end }}
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
</header>
<nav>
<ul class="nav-ul hide-ul">
{{ range .Data.Pages }}
<li>
<a class="nav-link" href="#{{ .File.BaseFileName }}">
{{ if isset .Params "link_text" }}
{{ index .Params "link_text" }}
{{ else }}
{{ index .Title }}
{{ end }}
</a>
</li>
{{ end }}
</ul>
</nav>
</div>
</div>

View File

@ -0,0 +1,35 @@
<!-- Navigation -->
<nav class="navbar navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="page-scroll navbar-brand">
<a href="#intro">{{ .Site.Params.navbar.text | default .Site.Title }}</a>
</div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right"><