Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit fef0a58

Browse files
committed
Added description meta tag to template.
Updated fixtures.
1 parent e668089 commit fef0a58

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

template.hbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="initial-scale=1">
6-
<title>{{title}}{{#if description}} &#8212; {{description}}{{/if}}</title>
6+
<title>{{title}}{{#if pkg.version}} {{pkg.version}}{{/if}}{{#if description}} &#8212; {{description}}{{/if}}</title>
7+
{{#if description}}
8+
<meta name="description" content="{{description}}">
9+
{{/if}}
710
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.5/css/bootstrap.min.css">
811
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
912
<style>

test/fixtures/documentation.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="initial-scale=1">
6-
<title>doxdox-plugin-bootstrap &#8212; Bootstrap template plugin for doxdox.</title>
6+
<title>doxdox-plugin-bootstrap 1.1.0 &#8212; Bootstrap template plugin for doxdox.</title>
7+
<meta name="description" content="Bootstrap template plugin for doxdox.">
78
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.5/css/bootstrap.min.css">
89
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
910
<style>

0 commit comments

Comments
 (0)