Adding check if there is data
This commit is contained in:
parent
f7d7b5d970
commit
1277dbe5b1
|
@ -8,6 +8,7 @@
|
||||||
<link rel="stylesheet" href="/assets/css/font-awesome.min.css" />
|
<link rel="stylesheet" href="/assets/css/font-awesome.min.css" />
|
||||||
<link rel="stylesheet" href="/assets/css/gronkh.css" />
|
<link rel="stylesheet" href="/assets/css/gronkh.css" />
|
||||||
<script src="/assets/js/vendor/modernizr.js"></script>
|
<script src="/assets/js/vendor/modernizr.js"></script>
|
||||||
|
{{ if .data }}
|
||||||
{{ if .data.EP }}
|
{{ if .data.EP }}
|
||||||
<meta property="og:type" content="video" />
|
<meta property="og:type" content="video" />
|
||||||
<meta property="og:url" content="https://gronkh.1750studios.com/lets-play/{{ .data.LP.Slug.String }}/{{ .data.EP.Slug.String }}" />
|
<meta property="og:url" content="https://gronkh.1750studios.com/lets-play/{{ .data.LP.Slug.String }}/{{ .data.EP.Slug.String }}" />
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
<meta property="og:image" name="twitter:image" content="https://gronkh.1750studios.com{{ .data.LT.ThumbB.String }}" />
|
<meta property="og:image" name="twitter:image" content="https://gronkh.1750studios.com{{ .data.LT.ThumbB.String }}" />
|
||||||
<meta property="og:updated_time" content="{{ .data.LT.Aired }}" />
|
<meta property="og:updated_time" content="{{ .data.LT.Aired }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="contain-to-grid sticky">
|
<div class="contain-to-grid sticky">
|
||||||
|
|
Loading…
Reference in a new issue