Commit d842afb4 authored by Fabian Reinartz's avatar Fabian Reinartz

Set HTML title to current page's title

parent f2f4550a
---
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