Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable header and footer #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/partials/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row">

<div class="col-lg-6">
<h2>Stay In Touch:</h2>
{{ .Site.Params.contactMessage | safeHTML}}
</div>

<div class="col-lg-6">
Expand Down
10 changes: 2 additions & 8 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,14 @@
<a class="page-scroll" href="#about">About</a>
</li>
<li class="footer-menu-divider">&sdot;</li>
<li>
<a class="page-scroll" href="#services">Services</a>
</li>
<li class="footer-menu-divider">&sdot;</li>
<li>
<a class="page-scroll" href="#contact">Contact</a>
</li>
</ul>
<p class="copyright text-muted small">Copyright &copy; {{ .Title }} All Rights Reserved</p>
<p class="copyright text-muted small">&copy; {{ .Site.Params.footerMessage }}</p>
</div>
<div class="col-md-4">
Built with <a href="http://gohugo.io">Hugo</a> and the
<a href="https://github.com/crakjie/landing-page-hugo">landing-page-hugo</a>
theme.
<img src="{{ .Site.Params.footerImage }}"/>.
</div>
</div>
</div>
Expand Down
35 changes: 3 additions & 32 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,4 @@
<!-- 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.Title }}</a>
</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">
<li>
<a class="page-scroll" href="#about">About</a>
</li>
<li>
<a class="page-scroll" href="#services">Services</a>
</li>
<li>
<a class="page-scroll" href="#contact">Contact</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>

<section id="intro">
<!-- Header -->
Expand All @@ -39,8 +9,9 @@
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>{{ .Site.Title }}</h1>
<h3>{{ .Site.Params.description }}</h3>
<img src="{{ .Site.Params.logo }}"/>
<!---h1>{{ .Site.Title }}</h1--->
<h3>{{ .Site.Params.description | safeHTML}}</h3>
<hr class="intro-divider">
<ul class="list-inline intro-social-buttons">
{{ partial "social.html" . }}
Expand Down
4 changes: 2 additions & 2 deletions static/css/landing-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ h6 {
padding-bottom: 50px;
text-align: center;
color: #f8f8f8;
background: url(../img/intro-bg.jpg) no-repeat center center;
background: url(../img/blue-banner.png) no-repeat center center;
background-size: cover;
}

Expand Down Expand Up @@ -112,7 +112,7 @@ h6 {
.contact {
padding: 100px 0;
color: #f8f8f8;
background: url(../img/contact-bg.jpg) no-repeat center center;
background: url(../img/banner-bg.jpg) no-repeat center center;
background-size: cover;
}

Expand Down
Binary file added static/img/blue-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.