Merge pull request #14 from htr3n/dev

Merges from dev
This commit is contained in:
Huy Tran 2018-06-26 10:59:48 +10:00 committed by GitHub
commit 6ea2787b11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 5 deletions

10
layouts/about/single.html Normal file
View file

@ -0,0 +1,10 @@
{{ define "header" -}}
{{ partial "header.html" . }}
{{- end -}}
{{ define "content" -}}
{{ partial "content_about.html" . }}
{{- end -}}
{{ define "footer" -}}
{{- end -}}

View file

@ -0,0 +1,4 @@
<div class="post">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>

View file

@ -14,7 +14,7 @@
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:title">
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Site.Params.meta.description }}{{ if eq $isHomePage false }} - {{ .Description }}{{ end }}" property="og:description">
{{ "<!-- CSS -->" | safeHTML }}
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Noto+Serif:300,300i,400,400i,700,700i|Source+Code+Pro:300,300i,400,400i" rel="stylesheet">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">

View file

@ -1,10 +1,10 @@
html,
body
{
font-family: 'Fira Sans', sans-serif;
font-family: 'Noto Serif', serif;
font-size: 18px;
font-weight: 300;
line-height: 1.5;
line-height: 1.66em;
}
.img-circle
@ -61,8 +61,8 @@ pre code, li code, td code, code
}
code {
font-family: 'Roboto Mono', monospace;
font-size: 90%;
font-family: 'Source Code Pro', monospace;
font-size: 82%;
}
.copyright,
.poweredby