mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
No cache in offline mode (#90)
This commit is contained in:
parent
0d29035f08
commit
50e6b05703
|
@ -20,6 +20,10 @@
|
|||
<meta property="og:description" content="@rndr.pageDescription()" />
|
||||
<meta property="og:url" content="@rndr.landingAbs()" />
|
||||
<meta property="og:image" content="https://d1z75bzl1vljy2.cloudfront.net/img/gp-promo.png" />
|
||||
@if(offline) {
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
}
|
||||
<link rel="icon" href="@deps.gitpitchimg(offline)/favicon.ico"/>
|
||||
<link href="@deps.bootstrap(offline)/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="@deps.fontawesome(offline)/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
<title>@ssm.params().asTitle()</title>
|
||||
<meta content="Markdown Presentation powered by GitPitch." name="description">
|
||||
<meta content="GitHub, GitLab, Bitbucket, Markdown, Slideshow, Presentation, Developers, PITCHME" name="keywords">
|
||||
@if(offline) {
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
}
|
||||
<link rel="icon" href="@deps.gitpitchimg(offline)/favicon.ico"/>
|
||||
<link href="@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/css/reveal.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/css/theme/@ssm.fetchThemeCSS()" rel="stylesheet" type="text/css"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user