This is the code for the website served at https://ur.gs/
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.

37 lines
1.5KB

  1. <head>
  2. <meta charset="utf-8">
  3. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}">
  6. <meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
  7. {{ if .RSSLink }}
  8. <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
  9. <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
  10. {{ end }}
  11. {{ .Hugo.Generator }}
  12. <meta name="generation-date" content="{{ .Now }}">
  13. <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
  14. <link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico">
  15. <link rel="icon" href="{{ .Site.BaseURL }}img/favicon.ico">
  16. {{ partial "core/css.html" . }}
  17. <script src="{{ .Site.BaseURL }}js/modernizr-latest.js"></script>
  18. <script src="{{ .Site.BaseURL }}js/lazysizes.min.js"></script>
  19. <script src="{{ .Site.BaseURL }}js/ls.noscript.min.js"></script>
  20. <script>
  21. window.lazySizesConfig = window.lazySizesConfig || {};
  22. lazySizesConfig.addClasses = true;
  23. lazySizesConfig.loadMode = 2;
  24. </script>
  25. {{ with .Params.redirect }}
  26. <!-- Attempt redirect through refresh -->
  27. <meta http-equiv="refresh" content="1; url={{ . }}">
  28. <script>
  29. // Meta-refresh failed, so attempt Javascript
  30. window.location.href = "{{ . }}"
  31. </script>
  32. {{ end }}
  33. </head>