Renamed games to games module.
This commit is contained in:
parent
c9b554994d
commit
8af0d9d1c5
|
@ -10,7 +10,7 @@ var exec = require('sync-exec');
|
||||||
|
|
||||||
var inputDirectoryGame = './citra-games-wiki/';
|
var inputDirectoryGame = './citra-games-wiki/';
|
||||||
var inputDirectoryWiki = './citra-games-wiki.wiki/';
|
var inputDirectoryWiki = './citra-games-wiki.wiki/';
|
||||||
var outputDirectoryMd = '../../site/content/games/';
|
var outputDirectoryMd = '../../site/content/game/';
|
||||||
var outputDirectoryBoxart = '../../site/static/images/games/'
|
var outputDirectoryBoxart = '../../site/static/images/games/'
|
||||||
|
|
||||||
// The URL
|
// The URL
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
<meta property="og:url" content="{{ .Permalink }}" />
|
||||||
|
|
||||||
{{ if (eq .Section "entry") | or (eq .Section "wiki") | or (eq .Section "games") }}
|
{{ if (eq .Section "entry") | or (eq .Section "wiki") | or (eq .Section "game") }}
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
{{ if (eq .Section "entry") | or (eq .Section "wiki") }}
|
{{ if (eq .Section "entry") | or (eq .Section "wiki") }}
|
||||||
<meta property="og:image" content="{{ .Site.BaseURL }}images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
<meta property="og:image" content="{{ .Site.BaseURL }}images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
||||||
{{ else if (eq .Section "games") }}
|
{{ else if (eq .Section "game") }}
|
||||||
<meta property="og:image" content="{{ .Site.BaseURL }}images/games/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
<meta property="og:image" content="{{ .Site.BaseURL }}images/games/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
||||||
|
|
Reference in New Issue