Commit 0cd52cb2 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Remove now-outdated browser config for favicons

parent cab86aa3
{{- /* get chosen colour */ -}}
{{- $colour := $.Site.Params.colour }}
{{- /* set favicon colour to blue by default*/ -}}
{{- $faviconColour := .Site.Data.themeColoursStormBlue.colour50 }}
{{- $themeColour := .Site.Data.themeColoursStormBlue.colour80 }}
{{- /* replace the favicon colour from the colour data file if the chosen colour is not storm-blue */ -}}
{{- if eq $colour "amberOrange" }}
{{- $faviconColour = .Site.Data.themeColoursAmberOrange.colour50 }}
{{- $themeColour = .Site.Data.themeColoursAmberOrange.colour80 }}
{{- else if eq $colour "ash-beige" }}
{{- $faviconColour = .Site.Data.themeColoursAshBeige.colour50 }}
{{- $themeColour = .Site.Data.themeColoursAshBeige.colour80 }}
{{- else if eq $colour "lavender-blue" }}
{{- $faviconColour = .Site.Data.themeColoursLavenderBlue.colour50 }}
{{- $themeColour = .Site.Data.themeColoursLavenderBlue.colour80 }}
{{- else if eq $colour "lilac-pink" }}
{{- $faviconColour = .Site.Data.themeColoursLilacPink.colour50 }}
{{- $themeColour = .Site.Data.themeColoursLilacPink.colour80 }}
{{- else if eq $colour "lime-green" }}
{{- $faviconColour = .Site.Data.themeColoursLimeGreen.colour50 }}
{{- $themeColour = .Site.Data.themeColoursLimeGreen.colour80 }}
{{- else if eq $colour "mustardYellow" }}
{{- $faviconColour = .Site.Data.themeColoursMustardYellow.colour50 }}
{{- $themeColour = .Site.Data.themeColoursMustardYellow.colour80 }}
{{- else if eq $colour "olive-green" }}
{{- $faviconColour = .Site.Data.themeColoursOliveGreen.colour50 }}
{{- $themeColour = .Site.Data.themeColoursOliveGreen.colour80 }}
{{- else if eq $colour "plum-pink" }}
{{- $faviconColour = .Site.Data.themeColoursPlumPink.colour50 }}
{{- $themeColour = .Site.Data.themeColoursPlumPink.colour80 }}
{{- else if eq $colour "sea-blue" }}
{{- $faviconColour = .Site.Data.themeColoursSeaBlue.colour50 }}
{{- $themeColour = .Site.Data.themeColoursSeaBlue.colour80 }}
{{- else if eq $colour "steel-grey" }}
{{- $faviconColour = .Site.Data.themeColoursSteelGrey.colour50 }}
{{- $themeColour = .Site.Data.themeColoursSteelGrey.colour80 }}
{{- end -}}
{{- $mstile := "/favicons/mstile-150x150.png" -}}
{{- if (fileExists "static/mstile-150x150.png") }}{{- else }}
{{- $mstile = "/mstile-150x150.png" -}}
{{- end }}
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="{{ $mstile }}"/>
<TileColor>{{ $faviconColour }}</TileColor>
</tile>
</msapplication>
</browserconfig>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment