Initial Checkin of Beautiful Hugo Theme
Initial Checkin of Beautiful Hugo Theme
This commit is contained in:
parent
c962a38399
commit
ff7cd6fd91
42 changed files with 10950 additions and 0 deletions
26
layouts/partials/page.html
Normal file
26
layouts/partials/page.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{{ if .Title }}
|
||||
<header class="header-page">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<div class="page-heading">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if .Description }}
|
||||
<hr class="small">
|
||||
<span class="page-subheading">{{ .Description }}</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{ end }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{{ .Content }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
<div class="disqus-comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue