mirror of https://github.com/luizdepra/hugo-coder.git

KK
10.21.2020 41062e00965a0f9bf85bfe01e07e5a2a6e9ad5e2
Add apple touch icon (#381)

* Add \\( and \\[ as mathjax delimiters

* Make it possible to enable katex and mathjax globally in config.toml

* Add apple-touch-icon

* Add default apple touch icon

Co-authored-by: KK <bebound@users.noreply.github.com>
1 files modified
1 files added
3 ■■■■■ changed files
exampleSite/static/images/apple-touch-icon.png patch | view | raw | blame | history
layouts/_default/baseof.html 3 ●●●●● patch | view | raw | blame | history
exampleSite/static/images/apple-touch-icon.png
layouts/_default/baseof.html
@@ -83,6 +83,9 @@
    <link rel="icon" type="image/png" href="{{ .Site.Params.favicon_32 | default "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
    <link rel="icon" type="image/png" href="{{ .Site.Params.favicon_16 | default "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
    <link rel="apple-touch-icon" href="{{ .Site.Params.touchicon | default "/images/apple-touch-icon.png" | absURL }}">
    <link rel="apple-touch-icon"  sizes="180x180" href="{{ .Site.Params.touchicon | default "/images/apple-touch-icon.png" | absURL }}">
    {{ range .AlternativeOutputFormats -}}
      {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
    {{ end -}}