Mobile-responsive personal website, generated using Hugo. https://kevin-mok.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB

  1. <!DOCTYPE html>
  2. <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="description" content="{{ if eq .Description "" }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
  6. {{- with $.Param "keywords" }}
  7. <meta name="keywords" content="{{ delimit . "," }}">
  8. {{- end }}
  9. {{- with $.Param "author" }}
  10. <meta name="author" content="{{ . }}">
  11. {{- end }}
  12. {{ .Hugo.Generator }}
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> -->
  15. <link rel='stylesheet' href='//cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack-subset.css'>
  16. <!-- <link rel="stylesheet" href="https://meyerweb.com/eric/tools/css/reset/reset.css" type="text/css" media="all" /> -->
  17. <link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css">
  18. <link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
  19. <!-- <title>
  20. {{ $isHomePage := eq .Title .Site.Title }}
  21. {{ .Title }}
  22. {{ if eq $isHomePage false }} -
  23. {{ .Site.Title }}
  24. {{ end }}</title> -->
  25. <title>
  26. ~{{ .Page.RelPermalink }} · {{ .Site.Title }}
  27. </title>
  28. </head>
  29. <body>
  30. <!-- <header>
  31. <div class="container clearfix">
  32. [><a class="path" href="{{ .Site.BaseURL }}">[{{ .Site.Title }}]</a><]
  33. <a class="path" href="{{ .Site.BaseURL }}">[~]</a>
  34. <span class="caret"># _</span>
  35. <div class="right">
  36. {{ range $i, $page := (where .Site.Pages "Section" "pages") }}
  37. {{ if not (eq $i 0) }}|{{ end }}
  38. <a class="path" href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
  39. {{ end }}
  40. </div>
  41. </div>
  42. </header> -->
  43. <div class="container">