Skip to content

Commit

Permalink
Merge pull request #27 from vania-pooh/master
Browse files Browse the repository at this point in the history
Correctly outputting page description
  • Loading branch information
vania-pooh authored Jul 28, 2019
2 parents dc4ad78 + c9699db commit 73d4113
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules/
dist/
site/data/webpack.json
.idea
*.iml
.DS_Store
3 changes: 3 additions & 0 deletions site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ enableRobotsTXT = true
# See configuration options for more details:
# https://gohugo.io/getting-started/configuration/#toml-configuration
disableKinds = ["RSS", "taxonomy", "taxonomyTerm"]

[params]
description = "Launch any number of Selenium sessions with different browser versions in isolated Docker containers"
2 changes: 1 addition & 1 deletion site/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<meta property="og:image:width" content="2113">
{{ $title := .Title | default .Site.Title }}
<meta property="og:title" content="{{ $title }}">
{{ $description := .Description }}
{{ $description := .Description | default .Site.Params.description }}
{{ if .IsPage }}
{{ $description = .Summary | plainify }}
{{ end }}
Expand Down

0 comments on commit 73d4113

Please sign in to comment.