Commit 18889d5c authored by Björn Rabenstein's avatar Björn Rabenstein

Merge pull request #83 from prometheus/fabxc/title

Set HTML title to current page's title
parents 96f634e1 d842afb4
---
title: "Prometheus Monitoring Spreads through the Internet"
title: Prometheus Monitoring Spreads through the Internet
created_at: 2015-04-24
kind: article
author: Brian Brazil
......
---
title: Prometheus Blog
title: Blog
---
<div class="col-md-9">
<% sorted_articles.each do |post| %>
......
---
title: Community
---
<div class="col-md-8 col-md-offset-2 doc-content">
<h1>Community</h1>
<p>
......
---
title: Prometheus Documentation
title: Documentation
is_hidden: true
---
---
title: Basics
title: Querying basics
sort_rank: 1
---
......
---
title: Examples
title: Querying examples
sort_rank: 4
---
......
---
title: Functions
title: Query functions
sort_rank: 3
---
......
---
title: Home
---
<div class="main">
<div class="row">
<div class="col-md-3">
......
......@@ -27,7 +27,11 @@
<meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
<meta name="theme-color" content="#ffffff">
<% if @item[:title] %>
<title><%= @item[:title] %> | Prometheus</title>
<% else %>
<title>Prometheus</title>
<% end %>
<!-- Bootstrap core CSS -->
<link href="/assets/bootstrap-3.3.1/css/bootstrap.min.css" rel="stylesheet">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment