Browse Source

Change cache to properly use a filename, nginx is handling conversion on the backend

blog
Nathan Bergey 9 years ago
parent
commit
af49bab03c
  1. 4
      _layouts/base.html
  2. 12
      assets/style.sass

4
_layouts/base.html

@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="natronics.org">
<link rel="shortcut icon" href="/favicon.ico?{{ site.time | date: '%s' }}">
<link rel="stylesheet" href="/assets/style.css?{{ site.time | date: '%s' }}">
<link rel="shortcut icon" href="/favicon.{{ site.time | date: '%s' }}.ico">
<link rel="stylesheet" href="/assets/style.{{ site.time | date: '%s' }}.css">
<title>{{ page.title }}</title>
</head>
<body>

12
assets/style.sass

@ -8,22 +8,22 @@ $primary: #F18BD1
@font-face
font-family: 'League Spartan'
src: url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.eot?{{ site.time | date: '%s' }}')
src: url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.eot?#iefix&{{ site.time | date: '%s' }}') format('embedded-opentype'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.woff2?{{ site.time | date: '%s' }}') format('woff2'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.woff?{{ site.time | date: '%s' }}') format('woff'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.ttf?{{ site.time | date: '%s' }}') format('truetype'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.svg#league_spartanbold') format('svg')
src: url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.eot')
src: url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.woff2') format('woff2'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.woff') format('woff'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.ttf') format('truetype'), url('/assets/fonts/league-spartan/_webfonts/leaguespartan-bold.{{ site.time | date: '%s' }}.svg#league_spartanbold') format('svg')
font-weight: bold
font-style: normal
@font-face
font-family: 'Sorts Mill Goudy'
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.eot?{{ site.time | date: '%s' }}')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.woff?{{ site.time | date: '%s' }}') format('woff'), url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.ttf?{{ site.time | date: '%s' }}') format('truetype'), url('/assets/fonts/sorts-mill-goudy//webfontsGoudyStM-webfont.svg?{{ site.time | date: '%s' }}') format('svg')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.{{ site.time | date: '%s' }}.eot')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.{{ site.time | date: '%s' }}.woff') format('woff'), url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-webfont.{{ site.time | date: '%s' }}.ttf') format('truetype'), url('/assets/fonts/sorts-mill-goudy/webfontsGoudyStM-webfont.{{ site.time | date: '%s' }}.svg') format('svg')
font-weight: 400
font-style: normal
@font-face
font-family: 'Sorts Mill Goudy'
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.eot?{{ site.time | date: '%s' }}')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.woff?{{ site.time | date: '%s' }}') format('woff'), url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.ttf?{{ site.time | date: '%s' }}') format('truetype'), url('/assets/fonts/sorts-mill-goudy//webfontsGoudyStM-Italic-webfont.svg?{{ site.time | date: '%s' }}') format('svg')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.{{ site.time | date: '%s' }}.eot')
src: url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.{{ site.time | date: '%s' }}.woff') format('woff'), url('/assets/fonts/sorts-mill-goudy/webfonts/GoudyStM-Italic-webfont.{{ site.time | date: '%s' }}.ttf') format('truetype'), url('/assets/fonts/sorts-mill-goudy/webfontsGoudyStM-Italic-webfont.{{ site.time | date: '%s' }}.svg') format('svg')
font-weight: 400
font-style: italic

Loading…
Cancel
Save