Browse Source

fix: 404 on apple-touch-icon (#1965)

pull/1975/head
Arnaud Duforat 4 years ago
committed by GitHub
parent
commit
5c07ce0a7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. 2
      dev/templates/legacy.pug
  2. 2
      dev/templates/setup.pug

2
dev/templates/legacy.pug

@ -20,7 +20,7 @@ html
meta(property='og:site_name', content=config.title) meta(property='og:site_name', content=config.title)
//- Favicon //- Favicon
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
link(rel='apple-touch-icon', sizes='180x180', href='/favicons/apple-touch-icon.png')
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png') link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png') link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png') link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')

2
dev/templates/setup.pug

@ -10,7 +10,7 @@ html
title Wiki.js Setup title Wiki.js Setup
//- Favicon //- Favicon
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
link(rel='apple-touch-icon', sizes='180x180', href='/favicons/apple-touch-icon.png')
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-chrome-192x192.png') link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-chrome-192x192.png')
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png') link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png') link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')

Loading…
Cancel
Save