the code for my website (https://www.annwan.me)
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.

24 lines
1.9 KiB

10 months ago
  1. <title>{{ with .Title }}{{ . }} &ndash; {{end}}{{ .Site.Title }}</title>
  2. {{ with .Site.Params.about }}<meta name="description" content="{{ .description }}">{{ end }}
  3. <meta name="viewport" content="width=device-width, initial-scale=1">
  4. <meta charset="UTF-8"/>
  5. {{ if .Site.Params.noindex }}<meta name="robots" content="noindex" /> {{ end }}
  6. <!-- FontAwesome <https://fontawesome.com/> -->
  7. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  8. <!-- Academicons <https://jpswalsh.github.io/academicons/> -->
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.4/css/academicons.min.css" integrity="sha512-IW0nhlW5MgNydsXJO40En2EoCkTTjZhI3yuODrZIc8cQ4h1XcF53PsqDHa09NqnkXuIe0Oiyyj171BqZFwISBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  10. <!-- risotto theme -->
  11. <link rel="stylesheet" href="{{ printf "css/palettes/%s.css" (.Site.Params.theme.palette | default "base16-dark") | absURL }}">
  12. <link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
  13. <link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
  14. <!-- favicon -->
  15. {{ if os.FileExists "static/favicon.ico" }}<link rel="icon" href="{{ "favicon.ico" | absURL }}">{{ end }}
  16. {{ if os.FileExists "static/favicon-32x32.png" }}<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | absURL }}">{{ end }}
  17. {{ if os.FileExists "static/favicon-16x16.png" }}<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | absURL }}">{{ end }}
  18. {{ if os.FileExists "static/apple-touch-icon.png" }}<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">{{ end }}
  19. {{ if os.FileExists "static/site.webmanifest" }}<link rel="manifest" href="{{ "site.webmanifest" | absURL }}">{{ end }}