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 created_at: 2015-04-24
kind: article kind: article
author: Brian Brazil author: Brian Brazil
......
--- ---
title: Prometheus Blog title: Blog
--- ---
<div class="col-md-9"> <div class="col-md-9">
<% sorted_articles.each do |post| %> <% sorted_articles.each do |post| %>
......
---
title: Community
---
<div class="col-md-8 col-md-offset-2 doc-content"> <div class="col-md-8 col-md-offset-2 doc-content">
<h1>Community</h1> <h1>Community</h1>
<p> <p>
......
--- ---
title: Prometheus Documentation title: Documentation
is_hidden: true is_hidden: true
--- ---
--- ---
title: Basics title: Querying basics
sort_rank: 1 sort_rank: 1
--- ---
......
--- ---
title: Examples title: Querying examples
sort_rank: 4 sort_rank: 4
--- ---
......
--- ---
title: Functions title: Query functions
sort_rank: 3 sort_rank: 3
--- ---
......
---
title: Home
---
<div class="main"> <div class="main">
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
......
...@@ -27,7 +27,11 @@ ...@@ -27,7 +27,11 @@
<meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png"> <meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<% if @item[:title] %>
<title><%= @item[:title] %> | Prometheus</title>
<% else %>
<title>Prometheus</title> <title>Prometheus</title>
<% end %>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="/assets/bootstrap-3.3.1/css/bootstrap.min.css" rel="stylesheet"> <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