Skip to content

Commit

Permalink
rebuilding site Sat Jan 10 12:01:28 JST 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
dim0627 committed Jan 10, 2015
1 parent fb6b66f commit 67838b0
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 50 deletions.
2 changes: 0 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ Title: "Aglaus"

Params:
Author: "Your name."
Birth: "Sun, Feb 26, 1989"
DateForm: "Mon, Jan 2, 2006"
GoogleAnalyticsUserID: "Your ID."
GravatarHash: "Your Hash."
Facebook: "Your ID."
Twitter: "Your ID."
Github: "Your ID."
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/default_foot.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
</div>

<hr>

<footer class="container copy">
<p>&copy; {{ .Site.LastChange.Year }} {{ if isset .Site.Params "Author" }} {{ .Site.Params.Author }} {{ else }} {{ .Site.Title }} {{ end }}</p>
<p>Powered by <a href="http://gohugo.io" target="_blank">Hugo</a></p>
Expand Down
94 changes: 47 additions & 47 deletions layouts/partials/default_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@

{{ partial "head.html" . }}

<header class="nav">
<nav class="navbar navbar-default">
<div class="container container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<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" href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a>
</div>
<div class="container">
<header class="nav">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<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" href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a>
</div>

<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="{{ .Site.BaseUrl }}/post">All Posts</a></li>
{{ range where .Site.Recent "Type" "page" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="{{ .Site.BaseUrl }}/post">All Posts</a></li>
{{ range where .Site.Recent "Type" "page" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>

<ul class="nav navbar-nav navbar-right">
{{ if isset .Site.Params "Facebook" }}
<li>
<a href="https://www.facebook.com/{{ .Site.Params.Facebook }}" target="_blank">
<i class="fa fa-facebook-square"></i>
Facebook</a>
</li>
{{ end }}
{{ if isset .Site.Params "Twitter" }}
<li>
<a href="https://twitter.com/{{ .Site.Params.Twitter }}" target="_blank">
<i class="fa fa-twitter-square"></i>
Twitter</a>
</li>
{{ end }}
{{ if isset .Site.Params "Github" }}
<li>
<a href="https://github.com/{{ .Site.Params.Github }}" target="_blank">
<i class="fa fa-github-square"></i>
GitHub
</a>
</li>
{{ end }}
</ul>
<ul class="nav navbar-nav navbar-right">
{{ if isset .Site.Params "Facebook" }}
<li>
<a href="https://www.facebook.com/{{ .Site.Params.Facebook }}" target="_blank">
<i class="fa fa-facebook-square"></i>
Facebook</a>
</li>
{{ end }}
{{ if isset .Site.Params "Twitter" }}
<li>
<a href="https://twitter.com/{{ .Site.Params.Twitter }}" target="_blank">
<i class="fa fa-twitter-square"></i>
Twitter</a>
</li>
{{ end }}
{{ if isset .Site.Params "Github" }}
<li>
<a href="https://github.com/{{ .Site.Params.Github }}" target="_blank">
<i class="fa fa-github-square"></i>
GitHub
</a>
</li>
{{ end }}
</ul>
</div>
</div>
</div>
</nav>
</header>
<div class="container">
</nav>
</header>
13 changes: 13 additions & 0 deletions static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ pre {
padding: 0;
}

pre code {
padding: .5em;
display: block;
}

nav.navbar {
margin: 5px;
}
Expand All @@ -18,6 +23,14 @@ header.nav {
margin-bottom: 20px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
margin-top: 40px;
}

.post-tags,
.post-rels {
margin-bottom: 50px;
Expand Down

0 comments on commit 67838b0

Please sign in to comment.