Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
provides a basic landing page with content only from _index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewatkinsca committed Apr 14, 2018
1 parent 1219815 commit 6fe30df
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions layouts/partials/home/only-content.html
@@ -0,0 +1,24 @@
<section class="section hero is-fullheight" itemscope itemtype="http://schema.org/HomePage">
<div class="hero-head">
{{ partial "nav.html" . }}
</div>
<div class="hero-body">
<div class="container">
<div class="columns">
<div class="column is-8 is-offset-2 has-text-centered">
<h1 class="title">{{ partial "logo.html" . }}</h1>
<h2 class="subtitle">
{{ with .Site.Params.fullname }}{{ . }}
{{ else }}{{ "Add params:fullname" }}{{end}}
</h2>
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
</div>
<div class="hero-foot">
{{ partial "footer.html" . }}
</div>
</section>

0 comments on commit 6fe30df

Please sign in to comment.