Merge pull request #16 from mapitman/master

Changed header.html to use languageCode from config.toml instead of hard-coded to "ja"
This commit is contained in:
Keichi Takahashi 2015-07-17 20:47:40 +09:00
commit 03f2fe3df9
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ja"> <html lang="{{ .Site.LanguageCode }}">
<head prefix="og: http://ogp.me/ns#"> <head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />

View File

@ -1,4 +1,7 @@
<nav class="pagination" role="navigation"> <nav class="pagination" role="navigation">
{{ if or .HasPrev .HasNext }}
<hr />
{{ end }}
{{if .HasPrev}} {{if .HasPrev}}
<a class="newer-posts" href="{{ .Prev.URL }}">&laquo; Newer Posts</a> <a class="newer-posts" href="{{ .Prev.URL }}">&laquo; Newer Posts</a>
{{end}} {{end}}