Skip to content

Commit

Permalink
Fix missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus committed Jun 29, 2021
1 parent 53c28ec commit 9b66f20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/nginx/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const defaultConfTemplate = `server {
const locationTemplate = `
location {{.location}} {
rewrite ^ /index.html break;
sub_filter '<meta property="og:url" content="/"' '<meta property="og:url" content={{.url}}';
sub_filter '<meta property="og:url" content="/"' '<meta property="og:url" content="{{.url}}"';
sub_filter '<meta property="og:title" content="{{.ogTitle}}"' '<meta property="og:title" content="{{.title}}"';
sub_filter '<meta property="og:description" content="{{.ogDescription}}"' '<meta property="og:description" content="{{.description}}"';
sub_filter '<meta property="og:image" content="{{.ogImage}}"' '<meta property="og:image" content="{{.logoURL}}"';
sub_filter '<meta property="og:image:secure_url" content="{{.ogImage}}"' '<meta property="og:image:secure_url" content="{{.logoURL}}"';
sub_filter '<meta name="twitter:image" content="{{.ogImage}}"' '<meta name="twitter:image" content="{{.logoURL}}"';
sub_filter '<meta name="twitter:title" content="{{.ogTitle}}"' '<meta name=twitter:title content="{{.title}}"';
sub_filter '<meta name="twitter:title" content="{{.ogTitle}}"' '<meta name="twitter:title" content="{{.title}}"';
sub_filter '<meta name="twitter:description" content="{{.ogDescription}}"' '<meta name="twitter:description" content="{{.description}}"';
sub_filter '<meta name="description" content="{{.pageDescription}}"' '<meta name="description" content="{{.description}}"';
sub_filter '<title>{{.pageTitle}}</title>' '<title>{{.title}}</title>';
Expand Down

0 comments on commit 9b66f20

Please sign in to comment.