Skip to content

Commit

Permalink
NIFI-12584 Updated OpenGraph and Twitter meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
exceptionfactory committed Jan 8, 2024
1 parent 5f22dea commit aba8c74
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ enableInlineShortcodes = true
unsafe = true

[params]
description = "Apache NiFi is an easy to use, powerful, and reliable system to process and distribute data"
keywords = "apache,nifi,data,distribution"
twitterUser = "apachenifi"
projectBrand = "/images/project-brand.jpg"

repositoryUrl = "https://github.com/apache/nifi"
repositorySourceBranch = "main"

Expand Down
Binary file added static/images/project-brand.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions themes/nifi/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@
<meta property="og:type" content="{{ $openGraphType }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:description" content="{{ $description }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:image" content="{{ .Site.Params.projectBrand | absURL }}?version=1">
<meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ $description }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="{{ .Site.Params.twitterUser }}">
<meta name="twitter:image" content="{{ .Site.Params.projectBrand | absURL }}?version=1">
<link rel="icon" href="/images/apache-nifi-drop-logo.svg">
<link rel="stylesheet" href="/uikit/css/uikit.min.css">
<link rel="stylesheet" href="/css/main.css?version=1">
Expand Down

0 comments on commit aba8c74

Please sign in to comment.