diff --git a/README.md b/README.md index cee6c22..7c7d370 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ Create a new Hugo site with: hugo new site ``` -With your new site created, [download the presskit-static ZIP](https://github.com/RedpointGames/presskit-static/archive/master.zip) and place it in the `themes/` directory such that `themes/presskit-static/theme.toml` exists. +With your new site created, [download the presskit-static ZIP](https://github.com/RedpointGames/presskit-static/archive/master.zip) and place it in the `themes/` directory such that `themes/presskit-static/theme.yaml` exists. -Add the line `theme = "presskit-static"` to your `config.toml` file. +Add the line `theme = "presskit-static"` to your `config.toml` or `theme: "presskit-static"` to your `config.yaml` file. You can run Hugo as a server locally while you're writing content to preview it by running `hugo server -t presskit-static` in the directory where your project is located. diff --git a/layouts/404.html b/layouts/404.html index f9612e1..0386043 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -7,6 +7,7 @@ Not Found! + {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7b62c6e..59338bb 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ {{ if (eq $.Page.Type "company") }} -{{ partial "company.html" . }} + {{ partial "company.html" . }} {{ else }} -{{ partial "game.html" . }} + {{ partial "game.html" . }} {{ end }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d5cfbec..b010e83 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ if (eq $.Page.Type "company") }} -{{ partial "../company/single.html" . }} + {{ partial "../company/single.html" . }} {{ else }} -{{ partial "../game/single.html" . }} + {{ partial "../game/single.html" . }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/additionals.html b/layouts/partials/additionals.html new file mode 100644 index 0000000..4713b65 --- /dev/null +++ b/layouts/partials/additionals.html @@ -0,0 +1,13 @@ +{{ range $.Params.additionals }} +

+ {{ .title }}
+ {{ .description }}
+ {{ if (ne .link nil) }} + {{ if (ne .linkText nil) }} + {{ .linkText }} + {{ else }} + {{ .link }} + {{ end }} + {{ end }} +

+{{ end }} \ No newline at end of file diff --git a/layouts/partials/bootstrap/company.html b/layouts/partials/bootstrap/company.html index 5759d54..a704302 100644 --- a/layouts/partials/bootstrap/company.html +++ b/layouts/partials/bootstrap/company.html @@ -4,146 +4,151 @@ {{ $urlImages := printf "%s/images" $urlStatic }} - - - - - - {{ $.Title }} - - - {{ $styles := (readDir $pathStyles) }} - {{ range $styles }} - {{ $ext := (substr .Name (sub (len .Name) 4)) }} - {{ if (eq $ext ".css") }} - - {{ end }} + + + + + + + {{ $.Title }} + + + {{ $styles := (readDir $pathStyles) }} + {{ range $styles }} + {{ $ext := (substr .Name (sub (len .Name) 4)) }} + {{ if (eq $ext ".css") }} + {{ end }} - - -
-
- -
- {{ $header := (readDir $pathImages) }} - {{ if (where $header "Name" "header.png") }} - - {{ end }} -
-
-
-

Factsheet

-

- Developer:
- {{ $.Params.title }}
- Based in {{ $.Params.basedin }} -

-

- Founding date:
- {{ $.Params.foundingdate }} -

+ {{ end }} + {{ template "_internal/google_analytics_async.html" . }} + + + +
+
+ +
+ {{ $header := (readDir $pathImages) }} + {{ if (where $header "Name" "header.png") }} + + {{ end }} +
+
+
+

Factsheet

+

+ Developer:
+ {{ $.Params.title }}
+ Based in {{ $.Params.basedin }} +

+

+ Founding date:
+ {{ $.Params.foundingdate }} +

+

+ Website:
+ {{ $.Params.website.name }} +

+

+ Press / Business contact:
+ {{ $.Params.pressContact }} +

+ {{ if (gt $.Params.social 0 ) }}

- Website:
- {{ $.Params.website.name }} + Social:
+ {{ range $.Params.social }} + {{ .name }}
+ {{ end }}

+ {{ end }} + {{ if (gt $.Params.releases 0 ) }}

- Press / Business contact:
- {{ $.Params.pressContact }} + Releases:
+ {{ range $.Params.releases }} + {{ ($.Site.GetPage "page" .).Title }}
+ {{ end }}

- {{ if (gt $.Params.social 0 ) }} -

- Social:
- {{ range $.Params.social }} - {{ .name }}
- {{ end }} -

- {{ end }} - {{ if (gt $.Params.releases 0 ) }} -

- Releases:
- {{ range $.Params.releases }} - {{ ($.Site.GetPage "page" .).Title }}
- {{ end }} -

- {{ end }} -
-
- {{ .Content }} - {{ if (gt $.Params.releases 0 ) }} + {{ end }} +
+
+ {{ .Content }} + {{ if (gt $.Params.releases 0 ) }}

Projects

-
+ + {{ end }}
+
-
+
-

Videos

- {{ partial "videos.html" . }} -
+

Videos

+ {{ partial "videos.html" . }} +
-

Images

- {{ partial "images.html" . }} -
+

Images

+ {{ partial "images.html" . }} +
- - {{ partial "logos.html" . }} -
- -
-
-

Members

- {{ range $.Params.team }} + + {{ partial "logos.html" . }} +
+ +
+
+

Members

+ {{ range $.Params.team }}

- {{ .person }}{{ if .mail }} (Email){{ end }}
+ {{ .person }}{{ if .mail }} (Email){{ end }}
{{ .role }}

- {{ end }} -
-
-

Contact

- {{ partial "contacts.html" . }} -
+ {{ end }} +
+
+

Contact

+ {{ partial "contacts.html" . }}
+
-
+
-

{{ partial "footer.html" . }}

-
+

{{ partial "footer.html" . }}

- - - - - + + + - \ No newline at end of file + }); + + + + diff --git a/layouts/partials/bootstrap/game.html b/layouts/partials/bootstrap/game.html index f469dd8..3ff79bc 100644 --- a/layouts/partials/bootstrap/game.html +++ b/layouts/partials/bootstrap/game.html @@ -1,9 +1,9 @@ {{ if (eq $.Params.company "_index") }} - {{ $.Scratch.Set "company" ($.Site.GetPage "home" "") }} - {{ $.Scratch.Set "companyUrl" $.Site.BaseURL }} + {{ $.Scratch.Set "company" ($.Site.GetPage "home" "") }} + {{ $.Scratch.Set "companyUrl" $.Site.BaseURL }} {{ else }} - {{ $.Scratch.Set "company" ($.Site.GetPage "page" $.Params.company) }} - {{ $.Scratch.Set "companyUrl" (relref . (printf "%s.md" $.Params.company)) }} + {{ $.Scratch.Set "company" ($.Site.GetPage "page" $.Params.company) }} + {{ $.Scratch.Set "companyUrl" (relref . (printf "%s.md" $.Params.company)) }} {{ end }} {{ $company := $.Scratch.Get "company" }} {{ $companyUrl := $.Scratch.Get "companyUrl" }} @@ -12,219 +12,243 @@ {{ $urlStatic := trim (printf "%s/%s" (trim $.Site.BaseURL "/") $.Params.id) "/" }} {{ $urlImages := printf "%s/images" $urlStatic }} {{ if (not $company) }} -

- The company field for the game is not valid! -

+

+ The company field for the game is not valid! +

{{ else }} - - - - - - {{ $company.Title }} - {{ .Title }} - - - {{ $styles := (readDir $pathStyles) }} - {{ range $styles }} - {{ $ext := (substr .Name (sub (len .Name) 4)) }} - {{ if (eq $ext ".css") }} - - {{ end }} + + + + + + + {{ $company.Title }} - {{ .Title }} + + + {{ $styles := (readDir $pathStyles) }} + {{ range $styles }} + {{ $ext := (substr .Name (sub (len .Name) 4)) }} + {{ if (eq $ext ".css") }} + {{ end }} - - -
-
- -
- {{ $header := (readDir $pathImages) }} - {{ if (where $header "Name" "header.png") }} - - {{ end }} -
-
-
-

Factsheet

-

- Developer:
- {{ $company.Title }}
- Based in {{ $company.Params.basedin }} -

-

- Release date:
- {{ $.Params.releaseDate }} -

- {{ if (gt $.Params.platforms 0) }} -

- Platforms:
- {{ range $.Params.platforms }} - {{ . }}
- {{ end }} -

- {{ end }} -

- Website:
- {{ $.Params.website.name }} -

- {{ partial "prices.html" . }} - {{ if (gt $.Params.social 0 ) }} -

- Social:
- {{ range $.Params.social }} - {{ .name }}
- {{ end }} -

- {{ end }} -
-
- {{ .Content }} - {{ if (gt $.Params.features 0) }} -

Features

-
    - {{ range $.Params.features }} -
  • {{ . }}
  • - {{ end }} -
- {{ end }} -
-
- -
- -

Videos

- {{ partial "trailers.html" . }} -
- -

Images

- {{ partial "images.html" . }} -
- - - {{ partial "logos.html" . }} -
- - {{ if $.Params.awards }} - {{ if gt $.Params.awards 0 }} -

Awards & Recognition

- {{ partial "awards.html" . }} -
- {{ end }} - {{ end }} - - {{ if $.Params.quotes }} - {{ if gt $.Params.quotes 0 }} -

Selected Articles

- {{ partial "quotes.html" . }} -
- {{ end }} - {{ end }} - - {{ if ne $.Params.monetization nil }} -

Monetization Permission

- {{ if eq $.Params.monetization "false" }} -

- {{ $company.Title }} does currently not allow for the contents of {{ .Title }} to be published through video broadcasting services. -

- {{ end }} - {{ if eq $.Params.monetization "ask" }} -

- {{ $company.Title }} does allow the contents of this game to be published through video broadcasting services only with direct written permission from {{ $company.Title }}. Check at the bottom of this page for contact information. -

- {{ end }} - {{ if eq $.Params.monetization "non-commercial" }} -

- {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for non-commercial purposes only. Monetization of any video created containing assets from {{ .Title }} is not allowed. -

- {{ end }} - {{ if eq $.Params.monetization "monetize" }} -

- {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for any commercial or non-commercial purposes. Monetization of videos created containing assets from {{ .Title }} is legally & explicitly allowed by {{ $company.Title }}. -

- {{ end }} - {{ end }} - -

About {{ $company.Title }}

-

- Boilerplate
- {{ $company.Description }} -

- -

- More information
- More information on {{ $company.Title }}, our logo & relevant media are available here. -

- -
- -
-
-

{{ .Title }} Credits

- {{ range $.Params.credits }} -

- {{ .person }}
- {{ .role }} -

- {{ end }} -
-
-

Contact

- {{ partial "contacts.html" . }} -
-
- -
- -

{{ partial "footer.html" . }}

-
-
-
+ {{ end }} + {{ template "_internal/google_analytics_async.html" . }} + + + +
+
+ +
+ {{ $header := (readDir $pathImages) }} + {{ if (where $header "Name" "header.png") }} + + {{ end }} +
+
+
+

Factsheet

+

+ Developer:
+ {{ $company.Title }}
+ Based in {{ $company.Params.basedin }} +

+

+ {{- if isset $.Params "releasedate" -}} + Release date:
+ {{ $.Params.releaseDate }} + {{- end -}} +

+ {{ if (gt $.Params.platforms 0) }} +

+ Platforms:
+ {{ range $.Params.platforms }} + {{ . }}
+ {{ end }} +

+ {{ end }} +

+ Website:
+ {{ $.Params.website.name }} +

+ {{ partial "prices.html" . }} + {{ if (gt $.Params.social 0 ) }} +

+ Social:
+ {{ range $.Params.social }} + {{ .name }}
+ {{ end }} +

+ {{ end }} +
+
+ {{ .Content }} + {{ if (gt $.Params.features 0) }} +

Features

+
    + {{ range $.Params.features }} +
  • {{ . }}
  • + {{ end }} +
+ {{ end }} +
+
+ +
+ +

Videos

+ {{ partial "trailers.html" . }} +
+ +

Images

+ {{ partial "images.html" . }} +
+ + + {{ partial "logos.html" . }} +
+ + {{ if $.Params.awards }} + {{ if gt $.Params.awards 0 }} +

Awards & Recognition

+ {{ partial "awards.html" . }} +
+ {{ end }} + {{ end }} + + {{ if $.Params.quotes }} + {{ if gt $.Params.quotes 0 }} +

Selected Articles

+ {{ partial "quotes.html" . }} +
+ {{ end }} + {{ end }} + + {{ if $.Params.additionals }} + {{ if gt $.Params.additionals 0 }} +

Additional Links

+ {{ partial "additionals.html" . }} +
+ {{ end }} + {{ end }} + + {{ if ne $.Params.monetization nil }} +

Monetization Permission

+ {{ if eq $.Params.monetization "false" }} +

+ {{ $company.Title }} does currently not allow for the contents of {{ .Title }} to be published through video broadcasting services. +

+ {{ end }} + {{ if eq $.Params.monetization "ask" }} +

+ {{ $company.Title }} does allow the contents of this game to be published through video broadcasting services only with direct written permission from {{ $company.Title }}. Check at the bottom of this page for contact information. +

+ {{ end }} + {{ if eq $.Params.monetization "non-commercial" }} +

+ {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for non-commercial purposes only. Monetization of any video created containing assets from {{ .Title }} is not allowed. +

+ {{ end }} + {{ if eq $.Params.monetization "monetize" }} +

+ {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for any commercial or non-commercial purposes. Monetization of videos created containing assets from {{ .Title }} is legally & explicitly allowed by {{ $company.Title }}. +

+ {{ end }} + {{ end }} + +

About {{ $company.Title }}

+

+ Boilerplate
+ {{ $company.Description }} +

+ +

+ More information
+ More information on {{ $company.Title }}, our logo & relevant media are available here. +

+ +
+ +
+
+

{{ .Title }} Credits

+ {{ range $.Params.credits }} +

+ {{ .person }}
+ {{ .role }} +

+ {{ end }} +
+
+

Contact

+ {{ partial "contacts.html" . }} +
+
+ +
+ +

{{ partial "footer.html" . }}

+
+
+
+ + + + + + + - - - - - + }); + + + -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5c9beab..6d53e43 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1 +1,7 @@ -presskit() by Rami Ismail (Vlambeer) - presskit-static() by June Rhodes (Redpoint Games) - also thanks to these fine folks \ No newline at end of file +{{- if isset $.Site.Params "legalnotice" -}} + {{ $.Site.Params.LegalNotice.Name }} - +{{ end -}} +{{- if isset $.Site.Params "privacystatement" -}} + {{ $.Site.Params.PrivacyStatement.Name }} - +{{ end -}} +presskit-static() \ No newline at end of file diff --git a/layouts/partials/quotes.html b/layouts/partials/quotes.html index 1df9b17..c084a8c 100644 --- a/layouts/partials/quotes.html +++ b/layouts/partials/quotes.html @@ -2,7 +2,7 @@ {{ range $.Params.quotes }}
  • "{{ .quote }}"
    - - {{ .name }}, {{ .website }} + - {{ .name }}{{- if isset . "link" -}}, {{ .website }}{{- end -}}
  • {{ end }} \ No newline at end of file diff --git a/layouts/partials/uikit/company.html b/layouts/partials/uikit/company.html index f9a6936..044f854 100644 --- a/layouts/partials/uikit/company.html +++ b/layouts/partials/uikit/company.html @@ -3,137 +3,143 @@ {{ $urlImages := printf "%s/images" $urlStatic }} - - - - - {{ $.Title }} - - - - -
    -
    - -
    - {{ $header := (readDir $pathImages) }} - {{ if (where $header "Name" "header.png") }} - - {{ end }} -
    -
    -

    Factsheet

    -

    - Developer:
    - {{ $.Params.title }}
    - Based in {{ $.Params.basedin }} -

    -

    - Founding date:
    - {{ $.Params.foundingdate }} -

    + + + + + + + {{ $.Title }} + + + {{ template "_internal/google_analytics_async.html" . }} + + + +
    +
    + +
    + {{ $header := (readDir $pathImages) }} + {{ if (where $header "Name" "header.png") }} + + {{ end }} +
    +
    +

    Factsheet

    +

    + Developer:
    + {{ $.Params.title }}
    + Based in {{ $.Params.basedin }} +

    +

    + Founding date:
    + {{ $.Params.foundingdate }} +

    +

    + Website:
    + {{ $.Params.website.name }} +

    +

    + Press / Business contact:
    + {{ $.Params.pressContact }} +

    + {{ if (gt $.Params.social 0 ) }}

    - Website:
    - {{ $.Params.website.name }} + Social:
    + {{ range $.Params.social }} + {{ .name }}
    + {{ end }}

    + {{ end }} + {{ if (gt $.Params.releases 0 ) }}

    - Press / Business contact:
    - {{ $.Params.pressContact }} + Releases:
    + {{ range $.Params.releases }} + {{ ($.Site.GetPage "page" .).Title }}
    + {{ end }}

    - {{ if (gt $.Params.social 0 ) }} -

    - Social:
    - {{ range $.Params.social }} - {{ .name }}
    - {{ end }} -

    - {{ end }} - {{ if (gt $.Params.releases 0 ) }} -

    - Releases:
    - {{ range $.Params.releases }} - {{ ($.Site.GetPage "page" .).Title }}
    - {{ end }} -

    - {{ end }} -
    -
    - {{ .Content }} - {{ if (gt $.Params.releases 0 ) }} + {{ end }} +
    +
    + {{ .Content }} + {{ if (gt $.Params.releases 0 ) }}

    Projects

    -
    + + {{ end }}
    +
    -
    +
    -

    Videos

    - {{ partial "videos.html" . }} -
    +

    Videos

    + {{ partial "videos.html" . }} +
    -

    Images

    - {{ partial "images.html" . }} -
    +

    Images

    + {{ partial "images.html" . }} +
    - - {{ partial "logos.html" . }} -
    - -
    -
    -

    Members

    - {{ range $.Params.team }} + + {{ partial "logos.html" . }} +
    + +
    +
    +

    Members

    + {{ range $.Params.team }}

    - {{ .person }}{{ if .mail }} (Email){{ end }}
    + {{ .person }}{{ if .mail }} (Email){{ end }}
    {{ .role }}

    - {{ end }} -
    -
    -

    Contact

    - {{ partial "contacts.html" . }} -
    + {{ end }} +
    +
    +

    Contact

    + {{ partial "contacts.html" . }}
    +
    -
    +
    -

    {{ partial "footer.html" . }}

    -
    +

    {{ partial "footer.html" . }}

    - - - - - + + + - \ No newline at end of file + }); + + + + diff --git a/layouts/partials/uikit/game.html b/layouts/partials/uikit/game.html index b870391..ec4418c 100644 --- a/layouts/partials/uikit/game.html +++ b/layouts/partials/uikit/game.html @@ -1,9 +1,9 @@ {{ if (eq $.Params.company "_index") }} - {{ $.Scratch.Set "company" ($.Site.GetPage "home" "") }} - {{ $.Scratch.Set "companyUrl" $.Site.BaseURL }} + {{ $.Scratch.Set "company" ($.Site.GetPage "home" "") }} + {{ $.Scratch.Set "companyUrl" $.Site.BaseURL }} {{ else }} - {{ $.Scratch.Set "company" ($.Site.GetPage "page" $.Params.company) }} - {{ $.Scratch.Set "companyUrl" (relref . (printf "%s.md" $.Params.company)) }} + {{ $.Scratch.Set "company" ($.Site.GetPage "page" $.Params.company) }} + {{ $.Scratch.Set "companyUrl" (relref . (printf "%s.md" $.Params.company)) }} {{ end }} {{ $company := $.Scratch.Get "company" }} {{ $companyUrl := $.Scratch.Get "companyUrl" }} @@ -11,208 +11,236 @@ {{ $urlStatic := trim (printf "%s/%s" (trim $.Site.BaseURL "/") $.Params.id) "/" }} {{ $urlImages := printf "%s/images" $urlStatic }} {{ if (not $company) }} -

    - The company field for the game is not valid! -

    +

    + The company field for the game is not valid! +

    {{ else }} - - - - - {{ $company.Title }} - {{ .Title }} - - - - - -
    -
    - -
    - {{ $header := (readDir $pathImages) }} - {{ if (where $header "Name" "header.png") }} - - {{ end }} -
    -
    -

    Factsheet

    + + + + + + + + {{ $company.Title }} - {{ .Title }} + + + {{ template "_internal/google_analytics_async.html" . }} + + + +
    +
    + +
    + {{ $header := (readDir $pathImages) }} + {{ if (where $header "Name" "header.png") }} + + {{ end }} +
    +
    +

    Factsheet

    +

    + Developer:
    + {{ $company.Title }}
    + Based in {{ $company.Params.basedin }} +

    +

    + {{- if isset $.Params "releasedate" -}} + Release date:
    + {{ $.Params.releaseDate }} + {{- end -}} +

    + {{ if (gt $.Params.platforms 0) }}

    - Developer:
    - {{ $company.Title }}
    - Based in {{ $company.Params.basedin }} + Platforms:
    + {{ range $.Params.platforms }} + {{ . }}
    + {{ end }}

    + {{ end }} +

    + Website:
    + {{ $.Params.website.name }} +

    + {{ partial "prices.html" . }} + {{ if (gt $.Params.social 0 ) }}

    - Release date:
    - {{ $.Params.releaseDate }} + Social:
    + {{ range $.Params.social }} + {{ .name }}
    + {{ end }}

    - {{ if (gt $.Params.platforms 0) }} -

    - Platforms:
    - {{ range $.Params.platforms }} - {{ . }}
    - {{ end }} -

    - {{ end }} + {{ end }} +
    +
    + {{ .Content }} + {{ if (gt $.Params.features 0) }} +

    Features

    +
      + {{ range $.Params.features }} +
    • {{ . }}
    • + {{ end }} +
    + {{ end }} +
    +
    + +
    + +

    Videos

    + {{ partial "trailers.html" . }} +
    + +

    Images

    + {{ partial "images.html" . }} +
    + + + {{ partial "logos.html" . }} +
    + + {{ if $.Params.awards }} + {{ if gt $.Params.awards 0 }} +

    Awards & Recognition

    + {{ partial "awards.html" . }} +
    + {{ end }} + {{ end }} + + {{ if $.Params.quotes }} + {{ if gt $.Params.quotes 0 }} +

    Selected Articles

    + {{ partial "quotes.html" . }} +
    + {{ end }} + {{ end }} + + {{ if $.Params.additionals }} + {{ if gt $.Params.additionals 0 }} +

    Additional Links

    + {{ partial "additionals.html" . }} +
    + {{ end }} + {{ end }} + + {{ if ne $.Params.monetization nil }} +

    Monetization Permission

    + {{ if eq $.Params.monetization "false" }} +

    + {{ $company.Title }} does currently not allow for the contents of {{ .Title }} to be published through video + broadcasting services. +

    + {{ end }} + {{ if eq $.Params.monetization "ask" }} +

    + {{ $company.Title }} does allow the contents of this game to be published through video broadcasting services only + with direct written permission from {{ $company.Title }}. Check at the bottom of this page for contact + information. +

    + {{ end }} + {{ if eq $.Params.monetization "non-commercial" }} +

    + {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services + for non-commercial purposes only. Monetization of any video created containing assets from {{ .Title }} is not + allowed. +

    + {{ end }} + {{ if eq $.Params.monetization "monetize" }} +

    + {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting + services for any commercial or non-commercial purposes. Monetization of videos created containing assets from + {{ .Title }} is legally & explicitly allowed by {{ $company.Title }}. +

    + {{ end }} + {{ end }} + +

    About {{ $company.Title }}

    +

    + Boilerplate
    + {{ $company.Description }} +

    + +

    + More information
    + More information on {{ $company.Title }}, our logo & relevant media are available here. +

    + +
    + +
    +
    +

    {{ .Title }} Credits

    + {{ range $.Params.credits }}

    - Website:
    - {{ $.Params.website.name }} + {{ .person }}
    + {{ .role }}

    - {{ partial "prices.html" . }} - {{ if (gt $.Params.social 0 ) }} -

    - Social:
    - {{ range $.Params.social }} - {{ .name }}
    - {{ end }} -

    - {{ end }} -
    -
    - {{ .Content }} - {{ if (gt $.Params.features 0) }} -

    Features

    -
      - {{ range $.Params.features }} -
    • {{ . }}
    • - {{ end }} -
    - {{ end }} -
    + {{ end }}
    - -
    - -

    Videos

    - {{ partial "trailers.html" . }} -
    - -

    Images

    - {{ partial "images.html" . }} -
    - - - {{ partial "logos.html" . }} -
    - - {{ if $.Params.awards }} - {{ if gt $.Params.awards 0 }} -

    Awards & Recognition

    - {{ partial "awards.html" . }} -
    - {{ end }} - {{ end }} - - {{ if $.Params.quotes }} - {{ if gt $.Params.quotes 0 }} -

    Selected Articles

    - {{ partial "quotes.html" . }} -
    - {{ end }} - {{ end }} - - {{ if ne $.Params.monetization nil }} -

    Monetization Permission

    - {{ if eq $.Params.monetization "false" }} -

    - {{ $company.Title }} does currently not allow for the contents of {{ .Title }} to be published through video broadcasting services. -

    - {{ end }} - {{ if eq $.Params.monetization "ask" }} -

    - {{ $company.Title }} does allow the contents of this game to be published through video broadcasting services only with direct written permission from {{ $company.Title }}. Check at the bottom of this page for contact information. -

    - {{ end }} - {{ if eq $.Params.monetization "non-commercial" }} -

    - {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for non-commercial purposes only. Monetization of any video created containing assets from {{ .Title }} is not allowed. -

    - {{ end }} - {{ if eq $.Params.monetization "monetize" }} -

    - {{ $company.Title }} allows for the contents of {{ .Title }} to be published through video broadcasting services for any commercial or non-commercial purposes. Monetization of videos created containing assets from {{ .Title }} is legally & explicitly allowed by {{ $company.Title }}. -

    - {{ end }} - {{ end }} - -

    About {{ $company.Title }}

    -

    - Boilerplate
    - {{ $company.Description }} -

    - -

    - More information
    - More information on {{ $company.Title }}, our logo & relevant media are available here. -

    - -
    - -
    -
    -

    {{ .Title }} Credits

    - {{ range $.Params.credits }} -

    - {{ .person }}
    - {{ .role }} -

    - {{ end }} -
    -
    -

    Contact

    - {{ partial "contacts.html" . }} -
    +
    +

    Contact

    + {{ partial "contacts.html" . }}
    +
    -
    +
    -

    {{ partial "footer.html" . }}

    -
    +

    {{ partial "footer.html" . }}

    +
    - - - - + + + + }); + + + -{{ end }} \ No newline at end of file +{{ end }} diff --git a/theme.toml b/theme.toml deleted file mode 100644 index de0cf6e..0000000 --- a/theme.toml +++ /dev/null @@ -1,21 +0,0 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - -name = "Presskit Static" -license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md" -description = "" -homepage = "http://example.com/" -tags = [] -features = [] -min_version = "0.25.1" - -[author] - name = "" - homepage = "" - -# If porting an existing theme -[original] - name = "" - homepage = "" - repo = "" diff --git a/theme.yaml b/theme.yaml new file mode 100644 index 0000000..04cfa8a --- /dev/null +++ b/theme.yaml @@ -0,0 +1,26 @@ +name: Presskit Static + +min_version: 0.25.1 + +description: A Hugo template for generating static presskit()-like sites. + +tags: + - presskit + - press + - dopresskit + - presskit() + +features: + - generate presskit + +license: MIT +licenselink: 'https://github.com/RedpointGames/presskit-static/blob/master/LICENSE.md' + +author: + name: RedpointGames + homepage: 'https://redpoint.games/' + +original: + name: presskit() + homepage: 'http://dopresskit.com/' + repo: 'https://github.com/ramiismail/dopresskit' \ No newline at end of file