diff options
author | Byeonggon Lee <gonny952@gmail.com> | 2018-11-18 15:45:19 +0300 |
---|---|---|
committer | Byeonggon Lee <gonny952@gmail.com> | 2018-11-18 15:45:19 +0300 |
commit | ba51b6f08fc8fe903fee5bc381d6c19fdec2d18e (patch) | |
tree | b62d80ae07ad1196a24b9be956ce0b0a1424f7ca /layouts | |
parent | 4999ed6950b02dfdf7fd54d77332a1100a84b183 (diff) |
Applied viewport
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 770a701..eb7788f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,20 +5,25 @@ <html> <head> <link rel="stylesheet" href="/css/hugo-apps-theme.css"/> + <meta name="viewport" content="width=device-width, initial-scale=1"/> </head> <body> <header class="apps-header"> <div style="margin-bottom:1rem"> <a href="../" style="float: left">Back</a> <a href="{{ .Site.BaseURL }}" class="apps-header-title"> + <h1> {{ .Site.Title }} + </h1> </a> </div> {{ with .Site.Menus.main }} {{ range $i, $e := sort . }} - <a href="{{ $e.URL }}" style="margin:0;{{ if $i }}padding-left: 1rem; border-left: 0.2rem solid black{{ end }}"> + <h2 style="display: inline-block;margin:0;{{ if $i }}padding-left: 1rem; border-left: 0.2rem solid black{{ end }}"> + <a href="{{ $e.URL }}"> {{- $e.Name -}} </a> + </h2> {{ end }} {{ end }} <hr/> |