Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66b3614
commit f70e0ce
Showing
7 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title> {{ .Title }} · {{ .Site.Title }} </title> | ||
|
||
{{ partial "head.html" . }} | ||
</head> | ||
|
||
<body> | ||
{{ partial "header.html" . }} | ||
<div class="container"> | ||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1> | ||
<span class="post-date">{{ .Date.Format "Jan 2, 2006 " }}</span> | ||
<div class="post-content"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
{{ partial "footer.html" . }} | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<footer class="navbar-fixed-bottom text-center"> | ||
<p>Copyright © {{ .Now.Format "2006" }} {{ .Site.Params.SelfName }} - | ||
<span class="credit"> | ||
Powered by | ||
<a target="_blank" href="https://gohugo.io">Hugo</a> | ||
and | ||
<a target="_blank" href="https://github.com/LordMathis/hugo-theme-nix/">Nix</a> theme. | ||
</span> | ||
</p> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<header> | ||
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse font-header"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false"> | ||
<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="navbar-brand" id="green-terminal" href={{.Site.BaseURL}}>{{.Site.Params.HeaderUsername}}@{{.Site.Params.HeaderHostname}} ~ $</a> | ||
</div> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
<a href="#">/home/namesny</a> | ||
</li> | ||
{{ range .Site.Menus.main }} | ||
{{ $name := lower .Name }} | ||
<li > | ||
<a href="{{ .URL }}">~/{{ lower .Name }}</a> | ||
</li> | ||
{{end}} | ||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
<a href="{{ .Site.BaseURL }}">/home/{{.Site.Params.HeaderUsername}}</a> | ||
</li> | ||
{{ range .Site.Menus.main }} | ||
{{ $name := lower .Name }} | ||
<li > | ||
<a href="{{ .URL }}">~/{{ lower .Name }}</a> | ||
</li> | ||
{{end}} | ||
|
||
</ul> | ||
</div><!-- /.navbar-collapse --> | ||
</div><!-- /.container-fluid --> | ||
</ul> | ||
</div><!-- /.navbar-collapse --> | ||
</div><!-- /.container-fluid --> | ||
</nav> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters