Skip to content

Commit

Permalink
update page titles and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Oct 11, 2021
1 parent 640931f commit a5d31fa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
2 changes: 0 additions & 2 deletions content/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Twitter Open Source
description: Twitter Open Source Website
keywords: twitter, open, source, open source, finatra, finagle, scala
custom_css: index.scss
custom_js: index.js
---
Expand Down
4 changes: 1 addition & 3 deletions content/memberships.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
layout: memberships
title: Memberships | Twitter Open Source
description: Twitter Open Source Website
keywords: twitter, open, source, open source, finatra, finagle, scala
title: Memberships
custom_css: memberships.scss
custom_js: memberships.js
---
2 changes: 1 addition & 1 deletion content/projects.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: projects
title: Projects | Twitter Open Source
title: Projects
description: All Twitter Open Source Projects
keywords: twitter, open, source, open source, finatra, finagle, scala
custom_css: projects.scss
Expand Down
4 changes: 1 addition & 3 deletions content/year-in-review.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
layout: year-in-review
title: Year in Review | Twitter Open Source
description: Twitter Open Source Website
keywords: twitter, open, source, open source, finatra, finagle, scala
title: Year in Review
custom_css: year-in-review.scss
custom_js: year-in-review.js
---
10 changes: 5 additions & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<meta charset="utf-8" />
<meta name="title" content="{{ .Title }}">
<meta name="description" content="{{ .Description }}">
<meta name="keywords" content="{{ .Params.keywords }}">
{{ with .Description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}

<meta name="og:title" content="{{ .Title }}">
<meta name="og:url" content="{{ .Permalink }}">
<!-- <meta name="og:image" content="{{ .Params.logo }}"> -->
<meta name="og:description" content="{{ .Description }}">
{{ with .Description }}<meta name="og:description" content="{{ . }}">{{ end }}

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="{{ .Permalink }}" />
<meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:description" content="{{ .Description }}" />
{{ with .Description }}<meta name="twitter:description" content="{{ . }}" />{{ end }}
<!-- <meta name="twitter:image" content="{{ .Params.logo }}" /> -->

<meta name="viewport" content="width=device-width, initial-scale=1">
Expand All @@ -21,7 +21,7 @@
<meta http-equiv='Cache-Control' content='no-cache'>
<meta http-equiv='imagetoolbar' content='no'>

<title>{{ .Title }}</title>
<title>{{ .Title }}{{ if not .IsHome }} | {{ site.Title }}{{ end }}</title>
<link rel="shortcut icon" type="image/png" href="{{ "assets/favicon.ico" | relURL }}"/>

{{- $style := resources.Get "css/style.scss" | toCSS | minify | fingerprint }}
Expand Down

0 comments on commit a5d31fa

Please sign in to comment.