hugo-ataru

Hugo theme with titleless posts and microformats2 support

git clone git://git.shimmy1996.com/hugo-ataru.git

head.html (970B)

    1 <head>
    2   <style>
    3     body {
    4         padding: 1em;
    5         margin: auto;
    6         max-width: 60ch;
    7         line-height: 1.5;
    8     }
    9     img, video, audio {
   10         max-width: 100%;
   11     }
   12     table {
   13         margin: auto;
   14     }
   15     td {
   16         padding: 2px 5px 1px 5px;
   17         border-top: 1px dotted;
   18     }
   19     pre {
   20         overflow-x: auto;
   21     }
   22     nav, nav .menu {
   23         display: flex;
   24     }
   25     .menu {
   26         flex: 1 1;
   27         flex-flow:row wrap;
   28     }
   29     .entry {
   30         margin-right: 0.75ch;
   31     }
   32     .menu-right {
   33         flex: 0 0 content;
   34     }
   35     {{ partial "css/custom.css" . | safeCSS }}
   36   </style>
   37   <meta charset="utf-8">
   38   <meta name="viewport" content="width=device-width, initial-scale=1">
   39   {{ partial "head_custom.html" . }}
   40   <title>
   41     {{- if not .IsHome }}{{ with .Title }}{{ . }}{{ else -}}
   42     {{ truncate .Site.Params.summaryLength "…" (plainify .Content) }}
   43     {{- end }}&nbsp;|&nbsp;{{ end }}{{ .Site.Title -}}
   44   </title>
   45 </head>