Skip to content

Commit

Permalink
add page titles and descript meta tags
Browse files Browse the repository at this point in the history
this should improve SEO visibility as html page title and description meta tags are now taken from the header in each .md file. Before this change e.g. the tile was only added as a <h1> to the top of the page, but not to the page title attribute.
Signed-off-by: Christoph Rueger <c.rueger@synesty.com>
  • Loading branch information
synesty-cr committed Sep 4, 2023
1 parent ed5746d commit e44a3ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion _includes/head.htm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<head>
<meta charset="utf-8">
<title>Bndtools</title>
<title>{% if page.title %}{{ page.title }} - {% endif %}Bndtools</title>
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=2.0">
<link rel="stylesheet" href="/css/style.css" />
<link rel="shortcut icon" href="/images/favicon.ico">
Expand Down
6 changes: 2 additions & 4 deletions community.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
title: Get Involved
description: Discuss and and report issues with the bndtools community.
---


<div class="hero">
<h1>Get Involved</h1>
</div>

<ul class="row">
<li class="large-6 medium-6 small-6 columns">
<h1>Discuss</h1>
Expand Down

0 comments on commit e44a3ed

Please sign in to comment.