Skip to content

Commit

Permalink
add jekyll-seo-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dsieger committed Feb 26, 2019
1 parent 1f79916 commit d170091
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ before_install:
- if [ "$CONFIG" == "Debug" ] && [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == linux ] ; then sudo apt-get install -y texlive-base ; fi
- if [ "$CONFIG" == "Debug" ] && [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == linux ] ; then sudo apt-get install -y doxygen ; fi
- if [ "$CONFIG" == "Debug" ] && [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == linux ] ; then sudo apt-get install -y ruby-dev ; fi
- if [ "$CONFIG" == "Debug" ] && [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == linux ] ; then sudo gem install jekyll -v 3.8.5 ; fi
- if [ "$CONFIG" == "Debug" ] && [ "$CXX" == "g++" ] && [ "$TRAVIS_OS_NAME" == linux ] ; then sudo gem install jekyll -v 3.8.5 && sudo gem install jekyll-seo-tag ; fi

before_script:
- mkdir build
Expand Down
9 changes: 7 additions & 2 deletions docs/jekyll/_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
title: pmp-library
title: 'The Polygon Mesh Processing Library'
description: 'The official homepage of the Polygon Mesh Processing Libray, a simple and efficient modern C++ library for processing and visualizing polygon surface meshes.'
url: 'https://www.pmp-library.org'
sass:
sass_dir: css
style: compressed
style: compressed

plugins:
- jekyll-seo-tag
11 changes: 9 additions & 2 deletions docs/jekyll/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>{{ page.title }} - {{ site.title }}</title>
<title>
{% if page.title %}
{{ page.title }} - {{ site.title }}
{% else %}
{{ site.title }}
{% endif %}
</title>

<link rel="stylesheet" href="/css/style.css">

Expand All @@ -21,4 +26,6 @@

gtag('config', 'UA-112654893-1');
</script>

{% seo title=false %}
</head>
1 change: 0 additions & 1 deletion docs/jekyll/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: default
title: Home
---

<div class="jumbotron jumbotron-fluid no-pad">
Expand Down

0 comments on commit d170091

Please sign in to comment.