Skip to content

Commit

Permalink
Remove whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanSerikov authored and m-kus committed Dec 3, 2020
1 parent 8bcc7d1 commit 8eb524c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/nginx/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ 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: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 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:description content="{{.ogDescription}}"' '<meta name=twitter:description content="{{.description}}"';
sub_filter '<title>{{.pageTitle}}</title>' '<title>{{.title}}</title>';
sub_filter '<title>{{.pageTitle}}</title>' '<title>{{.title}}</title>';
sub_filter_once on;
}`

Expand Down

0 comments on commit 8eb524c

Please sign in to comment.