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.

36 lines
1.6 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>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
  20. </head>
  21. <body>
  22. <!-- <header>
  23. <div class="container clearfix">
  24. <a class="path" href="{{ .Site.BaseURL }}">[{{ .Site.Title }}]</a>
  25. <span class="caret"># _</span>
  26. <div class="right">
  27. {{ range $i, $page := (where .Site.Pages "Section" "pages") }}
  28. {{ if not (eq $i 0) }}|{{ end }}
  29. <a class="path" href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
  30. {{ end }}
  31. </div>
  32. </div>
  33. </header> -->
  34. <div class="container">