You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/12/13 19:47:47 UTC

[GitHub] fjy closed pull request #6732: [0.13.0-incubating] Front Matter header needs to be on the first line for md to be rendered properly by jekyll

fjy closed pull request #6732: [0.13.0-incubating] Front Matter header needs to be on the first line for md to be rendered properly by jekyll
URL: https://github.com/apache/incubator-druid/pull/6732
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/content/comparisons/druid-vs-elasticsearch.md b/docs/content/comparisons/druid-vs-elasticsearch.md
index d0782bd10f5..1ae85e00b1f 100644
--- a/docs/content/comparisons/druid-vs-elasticsearch.md
+++ b/docs/content/comparisons/druid-vs-elasticsearch.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid vs Elasticsearch
 ======================
 
diff --git a/docs/content/comparisons/druid-vs-key-value.md b/docs/content/comparisons/druid-vs-key-value.md
index 4e911014ff6..399a3be8659 100644
--- a/docs/content/comparisons/druid-vs-key-value.md
+++ b/docs/content/comparisons/druid-vs-key-value.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid vs. Key/Value Stores (HBase/Cassandra/OpenTSDB)
 ====================================================
 
diff --git a/docs/content/comparisons/druid-vs-kudu.md b/docs/content/comparisons/druid-vs-kudu.md
index 8d00ae51102..7315fff2481 100644
--- a/docs/content/comparisons/druid-vs-kudu.md
+++ b/docs/content/comparisons/druid-vs-kudu.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid vs Kudu
 =============
 
diff --git a/docs/content/comparisons/druid-vs-redshift.md b/docs/content/comparisons/druid-vs-redshift.md
index 65951416aba..1042316c6a7 100644
--- a/docs/content/comparisons/druid-vs-redshift.md
+++ b/docs/content/comparisons/druid-vs-redshift.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Druid vs Redshift
 =================
 
diff --git a/docs/content/comparisons/druid-vs-spark.md b/docs/content/comparisons/druid-vs-spark.md
index 9723beff092..126a7bef8b0 100644
--- a/docs/content/comparisons/druid-vs-spark.md
+++ b/docs/content/comparisons/druid-vs-spark.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid vs Spark
 ==============
 
diff --git a/docs/content/comparisons/druid-vs-sql-on-hadoop.md b/docs/content/comparisons/druid-vs-sql-on-hadoop.md
index 3bf2c3f248a..b254ca0f076 100644
--- a/docs/content/comparisons/druid-vs-sql-on-hadoop.md
+++ b/docs/content/comparisons/druid-vs-sql-on-hadoop.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid vs SQL-on-Hadoop (Impala/Drill/Spark SQL/Presto)
 ===========================================================
 
diff --git a/docs/content/configuration/index.md b/docs/content/configuration/index.md
index 6e2e91689aa..2aeda15e027 100644
--- a/docs/content/configuration/index.md
+++ b/docs/content/configuration/index.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Configuration Reference
 
 This page documents all of the configuration properties for each Druid service type.
diff --git a/docs/content/configuration/logging.md b/docs/content/configuration/logging.md
index 640eea4616e..cf0b2efc211 100644
--- a/docs/content/configuration/logging.md
+++ b/docs/content/configuration/logging.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Logging
 ==========================
 
diff --git a/docs/content/configuration/realtime.md b/docs/content/configuration/realtime.md
index 71894916808..c0830b743f3 100644
--- a/docs/content/configuration/realtime.md
+++ b/docs/content/configuration/realtime.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Realtime Node Configuration
 ==============================
 For general Realtime Node information, see [here](../design/realtime.html).
diff --git a/docs/content/dependencies/cassandra-deep-storage.md b/docs/content/dependencies/cassandra-deep-storage.md
index 3b0e3f1950f..1db6e68f0a4 100644
--- a/docs/content/dependencies/cassandra-deep-storage.md
+++ b/docs/content/dependencies/cassandra-deep-storage.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## Introduction
 Druid can use Cassandra as a deep storage mechanism. Segments and their metadata are stored in Cassandra in two tables:
 `index_storage` and `descriptor_storage`.  Underneath the hood, the Cassandra integration leverages Astyanax.  The 
diff --git a/docs/content/dependencies/deep-storage.md b/docs/content/dependencies/deep-storage.md
index 02a97d30e26..47936bf620a 100644
--- a/docs/content/dependencies/deep-storage.md
+++ b/docs/content/dependencies/deep-storage.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Deep Storage
 
 Deep storage is where segments are stored.  It is a storage mechanism that Druid does not provide.  This deep storage infrastructure defines the level of durability of your data, as long as Druid nodes can see this storage infrastructure and get at the segments stored on it, you will not lose data no matter how many Druid nodes you lose.  If segments disappear from this storage layer, then you will lose whatever data those segments represented.
diff --git a/docs/content/dependencies/metadata-storage.md b/docs/content/dependencies/metadata-storage.md
index 767551feeb6..7993ed72831 100644
--- a/docs/content/dependencies/metadata-storage.md
+++ b/docs/content/dependencies/metadata-storage.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Metadata Storage
 
 The Metadata Storage is an external dependency of Druid. Druid uses it to store
diff --git a/docs/content/dependencies/zookeeper.md b/docs/content/dependencies/zookeeper.md
index e9d60941881..49134fb63dc 100644
--- a/docs/content/dependencies/zookeeper.md
+++ b/docs/content/dependencies/zookeeper.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # ZooKeeper
 Druid uses [ZooKeeper](http://zookeeper.apache.org/) (ZK) for management of current cluster state. The operations that happen over ZK are
 
diff --git a/docs/content/design/auth.md b/docs/content/design/auth.md
index 92f0c628533..4db137b23be 100644
--- a/docs/content/design/auth.md
+++ b/docs/content/design/auth.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Authentication and Authorization
 
 |Property|Type|Description|Default|Required|
diff --git a/docs/content/design/broker.md b/docs/content/design/broker.md
index 529da809b65..0c36af9f101 100644
--- a/docs/content/design/broker.md
+++ b/docs/content/design/broker.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Broker
 ======
 
diff --git a/docs/content/design/coordinator.md b/docs/content/design/coordinator.md
index 4a16e9391e7..068f3a29456 100644
--- a/docs/content/design/coordinator.md
+++ b/docs/content/design/coordinator.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Coordinator Node
 ================
 
diff --git a/docs/content/design/historical.md b/docs/content/design/historical.md
index 9398e522f59..25f44961716 100644
--- a/docs/content/design/historical.md
+++ b/docs/content/design/historical.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Historical Node
 ===============
 
diff --git a/docs/content/design/index.md b/docs/content/design/index.md
index 7cb96b83c1a..5623f94f2bf 100644
--- a/docs/content/design/index.md
+++ b/docs/content/design/index.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # What is Druid?<a id="what-is-druid"></a>
 
 Druid is a data store designed for high-performance slice-and-dice analytics
diff --git a/docs/content/design/indexing-service.md b/docs/content/design/indexing-service.md
index 4a8edef294e..0ed6a381280 100644
--- a/docs/content/design/indexing-service.md
+++ b/docs/content/design/indexing-service.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Indexing Service
 ================
 
diff --git a/docs/content/design/middlemanager.md b/docs/content/design/middlemanager.md
index 9779cdb336a..48c01764ba3 100644
--- a/docs/content/design/middlemanager.md
+++ b/docs/content/design/middlemanager.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Middle Manager Node
 ------------------
 
diff --git a/docs/content/design/overlord.md b/docs/content/design/overlord.md
index eaad38e6947..89e0355dbd9 100644
--- a/docs/content/design/overlord.md
+++ b/docs/content/design/overlord.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Overlord Node
 -------------
 
diff --git a/docs/content/design/peons.md b/docs/content/design/peons.md
index c33a3d4b237..c12304b894d 100644
--- a/docs/content/design/peons.md
+++ b/docs/content/design/peons.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Peons
 -----
 
diff --git a/docs/content/design/plumber.md b/docs/content/design/plumber.md
index ffbdabae122..1c89aca08ce 100644
--- a/docs/content/design/plumber.md
+++ b/docs/content/design/plumber.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Plumbers
 
 The plumber handles generated segments both while they are being generated and when they are "done". This is also technically a pluggable interface and there are multiple implementations. However, plumbers handle numerous complex details, and therefore an advanced understanding of Druid is recommended before implementing your own.
diff --git a/docs/content/design/realtime.md b/docs/content/design/realtime.md
index 9f83fcaaa60..1b02ad86602 100644
--- a/docs/content/design/realtime.md
+++ b/docs/content/design/realtime.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Real-time Node
 ==============
 
diff --git a/docs/content/design/segments.md b/docs/content/design/segments.md
index 50f45bd8bb2..bd7f25dfd6c 100644
--- a/docs/content/design/segments.md
+++ b/docs/content/design/segments.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Segments
 ========
 
diff --git a/docs/content/development/build.md b/docs/content/development/build.md
index 9b9f6bea5ee..f5473cec78c 100644
--- a/docs/content/development/build.md
+++ b/docs/content/development/build.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ### Build from Source
 
 You can build Druid directly from source. Please note that these instructions are for building the latest stable version of Druid.
diff --git a/docs/content/development/experimental.md b/docs/content/development/experimental.md
index fecaff1071c..9653bf22aa2 100644
--- a/docs/content/development/experimental.md
+++ b/docs/content/development/experimental.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # About Experimental Features
 
 Experimental features are features we have developed but have not fully tested in a production environment. If you choose to try them out, there will likely be edge cases that we have not covered. We would love feedback on any of these features, whether they are bug reports, suggestions for improvement, or letting us know they work as intended.
diff --git a/docs/content/development/extensions-contrib/ambari-metrics-emitter.md b/docs/content/development/extensions-contrib/ambari-metrics-emitter.md
index fde22799a8e..8c874f83823 100644
--- a/docs/content/development/extensions-contrib/ambari-metrics-emitter.md
+++ b/docs/content/development/extensions-contrib/ambari-metrics-emitter.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Ambari Metrics Emitter
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `ambari-metrics-emitter` extension.
diff --git a/docs/content/development/extensions-contrib/azure.md b/docs/content/development/extensions-contrib/azure.md
index 035fe27c65d..fff43ed929d 100644
--- a/docs/content/development/extensions-contrib/azure.md
+++ b/docs/content/development/extensions-contrib/azure.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Microsoft Azure
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-azure-extensions` extension.
diff --git a/docs/content/development/extensions-contrib/cassandra.md b/docs/content/development/extensions-contrib/cassandra.md
index 7a70f69d4a6..84ffc4145e3 100644
--- a/docs/content/development/extensions-contrib/cassandra.md
+++ b/docs/content/development/extensions-contrib/cassandra.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Apache Cassandra
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-cassandra-storage` extension.
diff --git a/docs/content/development/extensions-contrib/cloudfiles.md b/docs/content/development/extensions-contrib/cloudfiles.md
index ad7acee4c57..88fe35ad8f0 100644
--- a/docs/content/development/extensions-contrib/cloudfiles.md
+++ b/docs/content/development/extensions-contrib/cloudfiles.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Rackspace Cloud Files
 
 ## Deep Storage
diff --git a/docs/content/development/extensions-contrib/distinctcount.md b/docs/content/development/extensions-contrib/distinctcount.md
index 0bc4d3f9b84..d393f92c491 100644
--- a/docs/content/development/extensions-contrib/distinctcount.md
+++ b/docs/content/development/extensions-contrib/distinctcount.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # DistinctCount aggregator
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) the `druid-distinctcount` extension.
diff --git a/docs/content/development/extensions-contrib/google.md b/docs/content/development/extensions-contrib/google.md
index 4a1c26c6f13..6b56fb924bd 100644
--- a/docs/content/development/extensions-contrib/google.md
+++ b/docs/content/development/extensions-contrib/google.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Google Cloud Storage
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-google-extensions` extension.
diff --git a/docs/content/development/extensions-contrib/graphite.md b/docs/content/development/extensions-contrib/graphite.md
index a70910d0d67..a5e0680de2e 100644
--- a/docs/content/development/extensions-contrib/graphite.md
+++ b/docs/content/development/extensions-contrib/graphite.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Graphite Emitter
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `graphite-emitter` extension.
diff --git a/docs/content/development/extensions-contrib/influx.md b/docs/content/development/extensions-contrib/influx.md
index b2f61f4ad73..ecf10765bb2 100644
--- a/docs/content/development/extensions-contrib/influx.md
+++ b/docs/content/development/extensions-contrib/influx.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # InfluxDB Line Protocol Parser
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-influx-extensions`.
diff --git a/docs/content/development/extensions-contrib/kafka-emitter.md b/docs/content/development/extensions-contrib/kafka-emitter.md
index a2df861bab1..ec756817655 100644
--- a/docs/content/development/extensions-contrib/kafka-emitter.md
+++ b/docs/content/development/extensions-contrib/kafka-emitter.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Kafka Emitter
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `kafka-emitter` extension.
diff --git a/docs/content/development/extensions-contrib/kafka-simple.md b/docs/content/development/extensions-contrib/kafka-simple.md
index bb811eee283..b105a535687 100644
--- a/docs/content/development/extensions-contrib/kafka-simple.md
+++ b/docs/content/development/extensions-contrib/kafka-simple.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Kafka Simple Consumer
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-kafka-eight-simpleConsumer` extension.
diff --git a/docs/content/development/extensions-contrib/materialized-view.md b/docs/content/development/extensions-contrib/materialized-view.md
index 8c92480e408..c3183f62920 100644
--- a/docs/content/development/extensions-contrib/materialized-view.md
+++ b/docs/content/development/extensions-contrib/materialized-view.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Materialized View
 
 To use this feature, make sure to only load materialized-view-selection on broker and load materialized-view-maintenance on overlord. In addtion, this feature currently requires a hadoop cluster.
diff --git a/docs/content/development/extensions-contrib/opentsdb-emitter.md b/docs/content/development/extensions-contrib/opentsdb-emitter.md
index 27e9069b08e..23a64ba4b09 100644
--- a/docs/content/development/extensions-contrib/opentsdb-emitter.md
+++ b/docs/content/development/extensions-contrib/opentsdb-emitter.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Opentsdb Emitter
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `opentsdb-emitter` extension.
diff --git a/docs/content/development/extensions-contrib/orc.md b/docs/content/development/extensions-contrib/orc.md
index 8d65d0bf8d3..719bfba77d7 100644
--- a/docs/content/development/extensions-contrib/orc.md
+++ b/docs/content/development/extensions-contrib/orc.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Orc
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-orc-extensions`.
diff --git a/docs/content/development/extensions-contrib/parquet.md b/docs/content/development/extensions-contrib/parquet.md
index 91b3d82a8b6..daed4f34024 100644
--- a/docs/content/development/extensions-contrib/parquet.md
+++ b/docs/content/development/extensions-contrib/parquet.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Ingestion using Parquet format
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) both `druid-avro-extensions` and `druid-parquet-extensions`.
diff --git a/docs/content/development/extensions-contrib/rabbitmq.md b/docs/content/development/extensions-contrib/rabbitmq.md
index 055496362d8..e5f9d36bda6 100644
--- a/docs/content/development/extensions-contrib/rabbitmq.md
+++ b/docs/content/development/extensions-contrib/rabbitmq.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # RabbitMQ
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-rabbitmq` extension.
diff --git a/docs/content/development/extensions-contrib/redis-cache.md b/docs/content/development/extensions-contrib/redis-cache.md
index c3c6c6cbb04..c1969dcbe4e 100644
--- a/docs/content/development/extensions-contrib/redis-cache.md
+++ b/docs/content/development/extensions-contrib/redis-cache.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Druid Redis Cache
 --------------------
 
diff --git a/docs/content/development/extensions-contrib/rocketmq.md b/docs/content/development/extensions-contrib/rocketmq.md
index 3ec025b444f..b87fa578887 100644
--- a/docs/content/development/extensions-contrib/rocketmq.md
+++ b/docs/content/development/extensions-contrib/rocketmq.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # RocketMQ
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-rocketmq` extension.
diff --git a/docs/content/development/extensions-contrib/sqlserver.md b/docs/content/development/extensions-contrib/sqlserver.md
index 78873d0782e..078e3b3b009 100644
--- a/docs/content/development/extensions-contrib/sqlserver.md
+++ b/docs/content/development/extensions-contrib/sqlserver.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Microsoft SQLServer
 
 Make sure to [include](../../operations/including-extensions.html) `sqlserver-metadata-storage` as an extension.
diff --git a/docs/content/development/extensions-contrib/statsd.md b/docs/content/development/extensions-contrib/statsd.md
index aa89af94d0b..c5d141f3b54 100644
--- a/docs/content/development/extensions-contrib/statsd.md
+++ b/docs/content/development/extensions-contrib/statsd.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # StatsD Emitter
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `statsd-emitter` extension.
diff --git a/docs/content/development/extensions-contrib/thrift.md b/docs/content/development/extensions-contrib/thrift.md
index 3a1d197346d..3a8aea7a8f2 100644
--- a/docs/content/development/extensions-contrib/thrift.md
+++ b/docs/content/development/extensions-contrib/thrift.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Thrift
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-thrift-extensions`.
diff --git a/docs/content/development/extensions-contrib/time-min-max.md b/docs/content/development/extensions-contrib/time-min-max.md
index b4eff51491c..d87e506825f 100644
--- a/docs/content/development/extensions-contrib/time-min-max.md
+++ b/docs/content/development/extensions-contrib/time-min-max.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Timestamp Min/Max aggregators
 
 To use this extension, make sure to [include](../../operations/including-extensions.html) `druid-time-min-max`.
diff --git a/docs/content/development/extensions-core/approximate-histograms.md b/docs/content/development/extensions-core/approximate-histograms.md
index 895ca198a0f..398d4dd1066 100644
--- a/docs/content/development/extensions-core/approximate-histograms.md
+++ b/docs/content/development/extensions-core/approximate-histograms.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Approximate Histogram aggregator
 
 Make sure to [include](../../operations/including-extensions.html) `druid-histogram` as an extension.
diff --git a/docs/content/development/extensions-core/avro.md b/docs/content/development/extensions-core/avro.md
index 9e50cbe6ebc..9caa0e4a6fe 100644
--- a/docs/content/development/extensions-core/avro.md
+++ b/docs/content/development/extensions-core/avro.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Avro
 
 This extension enables Druid to ingest and understand the Apache Avro data format. Make sure to [include](../../operations/including-extensions.html) `druid-avro-extensions` as an extension.
diff --git a/docs/content/development/extensions-core/bloom-filter.md b/docs/content/development/extensions-core/bloom-filter.md
index 69a5904fba7..8b1603ea08d 100644
--- a/docs/content/development/extensions-core/bloom-filter.md
+++ b/docs/content/development/extensions-core/bloom-filter.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Bloom Filter
 
 Make sure to [include](../../operations/including-extensions.html) `druid-bloom-filter` as an extension.
diff --git a/docs/content/development/extensions-core/datasketches-extension.md b/docs/content/development/extensions-core/datasketches-extension.md
index 781cf1a58c2..0912f270164 100644
--- a/docs/content/development/extensions-core/datasketches-extension.md
+++ b/docs/content/development/extensions-core/datasketches-extension.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## DataSketches extension
 
 Druid aggregators based on [datasketches](http://datasketches.github.io/) library. Sketches are data structures implementing approximate streaming mergeable algorithms. Sketches can be ingested from the outside of Druid or built from raw data at ingestion time. Sketches can be stored in Druid segments as additive metrics.
diff --git a/docs/content/development/extensions-core/datasketches-hll.md b/docs/content/development/extensions-core/datasketches-hll.md
index 0af0a3187a5..2c68542c185 100644
--- a/docs/content/development/extensions-core/datasketches-hll.md
+++ b/docs/content/development/extensions-core/datasketches-hll.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## DataSketches HLL Sketch module
 
 This module provides Druid aggregators for distinct counting based on HLL sketch from [datasketches](http://datasketches.github.io/) library. At ingestion time, this aggregator creates the HLL sketch objects to be stored in Druid segments. At query time, sketches are read and merged together. In the end, by default, you receive the estimate of the number of distinct values presented to the sketch. Also, you can use post aggregator to produce a union of sketch columns in the same row. 
diff --git a/docs/content/development/extensions-core/datasketches-quantiles.md b/docs/content/development/extensions-core/datasketches-quantiles.md
index 83bd9278a3c..79d97402a53 100644
--- a/docs/content/development/extensions-core/datasketches-quantiles.md
+++ b/docs/content/development/extensions-core/datasketches-quantiles.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## DataSketches Quantiles Sketch module
 
 This module provides Druid aggregators based on numeric quantiles DoublesSketch from [datasketches](http://datasketches.github.io/) library. Quantiles sketch is a mergeable streaming algorithm to estimate the distribution of values, and approximately answer queries about the rank of a value, probability mass function of the distribution (PMF) or histogram, cummulative distribution function (CDF), and quantiles (median, min, max, 95th percentile and such). See [Quantiles Sketch Overview](https://datasketches.github.io/docs/Quantiles/QuantilesOverview.html).
diff --git a/docs/content/development/extensions-core/datasketches-theta.md b/docs/content/development/extensions-core/datasketches-theta.md
index 46893dcd30d..4c7e6162394 100644
--- a/docs/content/development/extensions-core/datasketches-theta.md
+++ b/docs/content/development/extensions-core/datasketches-theta.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## DataSketches Theta Sketch module
 
 This module provides Druid aggregators based on Theta sketch from [datasketches](http://datasketches.github.io/) library. Note that sketch algorithms are approximate; see details in the "Accuracy" section of the datasketches doc. 
diff --git a/docs/content/development/extensions-core/datasketches-tuple.md b/docs/content/development/extensions-core/datasketches-tuple.md
index f92567e81c1..d3c2119feaf 100644
--- a/docs/content/development/extensions-core/datasketches-tuple.md
+++ b/docs/content/development/extensions-core/datasketches-tuple.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## DataSketches Tuple Sketch module
 
 This module provides Druid aggregators based on Tuple sketch from [datasketches](http://datasketches.github.io/) library. ArrayOfDoublesSketch sketches extend the functionality of the count-distinct Theta sketches by adding arrays of double values associated with unique keys.
diff --git a/docs/content/development/extensions-core/druid-basic-security.md b/docs/content/development/extensions-core/druid-basic-security.md
index 59d74c13b89..30bfa4d9000 100644
--- a/docs/content/development/extensions-core/druid-basic-security.md
+++ b/docs/content/development/extensions-core/druid-basic-security.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Basic Security
 
 This extension adds:
diff --git a/docs/content/development/extensions-core/druid-kerberos.md b/docs/content/development/extensions-core/druid-kerberos.md
index 71ea60ae7b5..f033c05493f 100644
--- a/docs/content/development/extensions-core/druid-kerberos.md
+++ b/docs/content/development/extensions-core/druid-kerberos.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid-Kerberos
 
 Druid Extension to enable Authentication for Druid Nodes using Kerberos.
diff --git a/docs/content/development/extensions-core/druid-lookups.md b/docs/content/development/extensions-core/druid-lookups.md
index 101acf58665..35619f26d67 100644
--- a/docs/content/development/extensions-core/druid-lookups.md
+++ b/docs/content/development/extensions-core/druid-lookups.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Cached Lookup Module
 
 <div class="note info">Please note that this is an experimental module and the development/testing still at early stage. Feel free to try it and give us your feedback.</div>
diff --git a/docs/content/development/extensions-core/examples.md b/docs/content/development/extensions-core/examples.md
index 7199d52a0f9..28a466d60ac 100644
--- a/docs/content/development/extensions-core/examples.md
+++ b/docs/content/development/extensions-core/examples.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid examples
 
 ## TwitterSpritzerFirehose
diff --git a/docs/content/development/extensions-core/hdfs.md b/docs/content/development/extensions-core/hdfs.md
index da6127f64c7..b82d9732c95 100644
--- a/docs/content/development/extensions-core/hdfs.md
+++ b/docs/content/development/extensions-core/hdfs.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # HDFS
 
 Make sure to [include](../../operations/including-extensions.html) `druid-hdfs-storage` as an extension.
diff --git a/docs/content/development/extensions-core/kafka-eight-firehose.md b/docs/content/development/extensions-core/kafka-eight-firehose.md
index c32e725ab4a..2fa9c817adb 100644
--- a/docs/content/development/extensions-core/kafka-eight-firehose.md
+++ b/docs/content/development/extensions-core/kafka-eight-firehose.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Kafka Eight Firehose
 
 Make sure to [include](../../operations/including-extensions.html) `druid-kafka-eight` as an extension.
diff --git a/docs/content/development/extensions-core/kafka-extraction-namespace.md b/docs/content/development/extensions-core/kafka-extraction-namespace.md
index 93437ed4ac6..39686d39471 100644
--- a/docs/content/development/extensions-core/kafka-extraction-namespace.md
+++ b/docs/content/development/extensions-core/kafka-extraction-namespace.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Kafka Lookups
 
 <div class="note caution">
diff --git a/docs/content/development/extensions-core/kafka-ingestion.md b/docs/content/development/extensions-core/kafka-ingestion.md
index de3fa39ddc0..5762f28f10c 100644
--- a/docs/content/development/extensions-core/kafka-ingestion.md
+++ b/docs/content/development/extensions-core/kafka-ingestion.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Kafka Indexing Service
 
 The Kafka indexing service enables the configuration of *supervisors* on the Overlord, which facilitate ingestion from
diff --git a/docs/content/development/extensions-core/lookups-cached-global.md b/docs/content/development/extensions-core/lookups-cached-global.md
index ef7b2ad560f..9c319e44fd1 100644
--- a/docs/content/development/extensions-core/lookups-cached-global.md
+++ b/docs/content/development/extensions-core/lookups-cached-global.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Globally Cached Lookups
 
 <div class="note caution">
diff --git a/docs/content/development/extensions-core/mysql.md b/docs/content/development/extensions-core/mysql.md
index a91b4e163b3..619e8266b18 100644
--- a/docs/content/development/extensions-core/mysql.md
+++ b/docs/content/development/extensions-core/mysql.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # MySQL Metadata Store
 
 Make sure to [include](../../operations/including-extensions.html) `mysql-metadata-storage` as an extension.
diff --git a/docs/content/development/extensions-core/postgresql.md b/docs/content/development/extensions-core/postgresql.md
index 0a121265c81..da3dfac14ce 100644
--- a/docs/content/development/extensions-core/postgresql.md
+++ b/docs/content/development/extensions-core/postgresql.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # PostgreSQL Metadata Store
 
 Make sure to [include](../../operations/including-extensions.html) `postgresql-metadata-storage` as an extension.
diff --git a/docs/content/development/extensions-core/protobuf.md b/docs/content/development/extensions-core/protobuf.md
index 000e72a250a..388b13d94c9 100644
--- a/docs/content/development/extensions-core/protobuf.md
+++ b/docs/content/development/extensions-core/protobuf.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Protobuf
 
 This extension enables Druid to ingest and understand the Protobuf data format. Make sure to [include](../../operations/including-extensions.html) `druid-protobuf-extensions` as an extension.
diff --git a/docs/content/development/extensions-core/s3.md b/docs/content/development/extensions-core/s3.md
index dcd81cd3b33..316c65de8a2 100644
--- a/docs/content/development/extensions-core/s3.md
+++ b/docs/content/development/extensions-core/s3.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # S3-compatible
 
 Make sure to [include](../../operations/including-extensions.html) `druid-s3-extensions` as an extension.
diff --git a/docs/content/development/extensions-core/simple-client-sslcontext.md b/docs/content/development/extensions-core/simple-client-sslcontext.md
index 5992bdba36c..99a306e5248 100644
--- a/docs/content/development/extensions-core/simple-client-sslcontext.md
+++ b/docs/content/development/extensions-core/simple-client-sslcontext.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## Simple SSLContext Provider Module
 
 This module contains a simple implementation of [SSLContext](http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html)
diff --git a/docs/content/development/extensions-core/stats.md b/docs/content/development/extensions-core/stats.md
index 0e66d319b35..79527d5ee70 100644
--- a/docs/content/development/extensions-core/stats.md
+++ b/docs/content/development/extensions-core/stats.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Stats aggregator
 
 Includes stat-related aggregators, including variance and standard deviations, etc. Make sure to [include](../../operations/including-extensions.html) `druid-stats` as an extension.
diff --git a/docs/content/development/extensions-core/test-stats.md b/docs/content/development/extensions-core/test-stats.md
index 2e61641f8a7..e45c3cb6064 100644
--- a/docs/content/development/extensions-core/test-stats.md
+++ b/docs/content/development/extensions-core/test-stats.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Test Stats Aggregators
 
 Incorporates test statistics related aggregators, including z-score and p-value. Please refer to [https://www.paypal-engineering.com/2017/06/29/democratizing-experimentation-data-for-product-innovations/](https://www.paypal-engineering.com/2017/06/29/democratizing-experimentation-data-for-product-innovations/) for math background and details.
diff --git a/docs/content/development/extensions.md b/docs/content/development/extensions.md
index e5f833e800b..cca6137a2b2 100644
--- a/docs/content/development/extensions.md
+++ b/docs/content/development/extensions.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid extensions
 
 Druid implements an extension system that allows for adding functionality at runtime. Extensions
diff --git a/docs/content/development/geo.md b/docs/content/development/geo.md
index ac8db41ac18..f0fe31d6209 100644
--- a/docs/content/development/geo.md
+++ b/docs/content/development/geo.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Geographic Queries
 Druid supports filtering specially spatially indexed columns based on an origin and a bound.
 
diff --git a/docs/content/development/integrating-druid-with-other-technologies.md b/docs/content/development/integrating-druid-with-other-technologies.md
index 5862bfae5cb..d81a1fad680 100644
--- a/docs/content/development/integrating-druid-with-other-technologies.md
+++ b/docs/content/development/integrating-druid-with-other-technologies.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Integrating Druid With Other Technologies
 
 This page discusses how we can integrate Druid with other technologies. 
diff --git a/docs/content/development/javascript.md b/docs/content/development/javascript.md
index 53c93f48cca..26cd993cf67 100644
--- a/docs/content/development/javascript.md
+++ b/docs/content/development/javascript.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # JavaScript Programming Guide
 
 This page discusses how to use JavaScript to extend Druid.
diff --git a/docs/content/development/modules.md b/docs/content/development/modules.md
index 4800ff15a2d..2b062c4959b 100644
--- a/docs/content/development/modules.md
+++ b/docs/content/development/modules.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Extending Druid With Custom Modules
 
 Druid uses a module system that allows for the addition of extensions at runtime.
diff --git a/docs/content/development/overview.md b/docs/content/development/overview.md
index 361049dd074..78c0a10562c 100644
--- a/docs/content/development/overview.md
+++ b/docs/content/development/overview.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Developing on Druid
 
 Druid's codebase consists of several major components. For developers interested in learning the code, this document provides 
diff --git a/docs/content/development/router.md b/docs/content/development/router.md
index 283226a3c90..7e3dcba8a1d 100644
--- a/docs/content/development/router.md
+++ b/docs/content/development/router.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Router Node
 ===========
 
diff --git a/docs/content/development/versioning.md b/docs/content/development/versioning.md
index dfd04a0f14d..0e47cffadbf 100644
--- a/docs/content/development/versioning.md
+++ b/docs/content/development/versioning.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Versioning Druid
 This page discusses how we do versioning and provides information on our stable releases.
 
diff --git a/docs/content/ingestion/batch-ingestion.md b/docs/content/ingestion/batch-ingestion.md
index dfa90076286..68fb47020d1 100644
--- a/docs/content/ingestion/batch-ingestion.md
+++ b/docs/content/ingestion/batch-ingestion.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Batch Data Ingestion
 
 Druid can load data from static files through a variety of methods described here.
diff --git a/docs/content/ingestion/command-line-hadoop-indexer.md b/docs/content/ingestion/command-line-hadoop-indexer.md
index 162499ab1e2..489bac13233 100644
--- a/docs/content/ingestion/command-line-hadoop-indexer.md
+++ b/docs/content/ingestion/command-line-hadoop-indexer.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Command Line Hadoop Indexer
 
 To run:
diff --git a/docs/content/ingestion/compaction.md b/docs/content/ingestion/compaction.md
index 2c46e094514..521c5d899e1 100644
--- a/docs/content/ingestion/compaction.md
+++ b/docs/content/ingestion/compaction.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Compaction Task
 
 Compaction tasks merge all segments of the given interval. The syntax is:
diff --git a/docs/content/ingestion/data-formats.md b/docs/content/ingestion/data-formats.md
index bdb7fb105a5..7b68975b412 100644
--- a/docs/content/ingestion/data-formats.md
+++ b/docs/content/ingestion/data-formats.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Data Formats for Ingestion
 ==========================
 
diff --git a/docs/content/ingestion/delete-data.md b/docs/content/ingestion/delete-data.md
index cd0c2a0e839..509c47e79d1 100644
--- a/docs/content/ingestion/delete-data.md
+++ b/docs/content/ingestion/delete-data.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Deleting Data
 
 Permanent deletion of a Druid segment has two steps:
diff --git a/docs/content/ingestion/faq.md b/docs/content/ingestion/faq.md
index a5bbe6d82b4..d5e8c6fca72 100644
--- a/docs/content/ingestion/faq.md
+++ b/docs/content/ingestion/faq.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## My Data isn't being loaded
 
 ### Realtime Ingestion
diff --git a/docs/content/ingestion/firehose.md b/docs/content/ingestion/firehose.md
index c11a73febfe..6ef1f755e3c 100644
--- a/docs/content/ingestion/firehose.md
+++ b/docs/content/ingestion/firehose.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Firehoses
 
 Firehoses are used in [native batch ingestion tasks](../ingestion/native_tasks.html), stream push tasks automatically created by [Tranquility](../ingestion/stream-push.html), and the [stream-pull (deprecated)](../ingestion/stream-pull.html) ingestion model.
diff --git a/docs/content/ingestion/flatten-json.md b/docs/content/ingestion/flatten-json.md
index d9f31b3e600..7e8ee26bdf7 100644
--- a/docs/content/ingestion/flatten-json.md
+++ b/docs/content/ingestion/flatten-json.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # JSON Flatten Spec
 
 | Field | Type | Description | Required |
diff --git a/docs/content/ingestion/hadoop.md b/docs/content/ingestion/hadoop.md
index e32fd75d779..383084094ef 100644
--- a/docs/content/ingestion/hadoop.md
+++ b/docs/content/ingestion/hadoop.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Hadoop-based Batch Ingestion
 
 Hadoop-based batch ingestion in Druid is supported via a Hadoop-ingestion task. These tasks can be posted to a running
diff --git a/docs/content/ingestion/index.md b/docs/content/ingestion/index.md
index 528699aabec..89a17c0a4fa 100644
--- a/docs/content/ingestion/index.md
+++ b/docs/content/ingestion/index.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Ingestion
 
 ## Overview
diff --git a/docs/content/ingestion/ingestion-spec.md b/docs/content/ingestion/ingestion-spec.md
index d463d577886..e7e37544526 100644
--- a/docs/content/ingestion/ingestion-spec.md
+++ b/docs/content/ingestion/ingestion-spec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Ingestion Spec
 
 A Druid ingestion spec consists of 3 components:
diff --git a/docs/content/ingestion/locking-and-priority.md b/docs/content/ingestion/locking-and-priority.md
index d343e97f708..df14e8898c0 100644
--- a/docs/content/ingestion/locking-and-priority.md
+++ b/docs/content/ingestion/locking-and-priority.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Task Locking & Priority
 
 ## Locking
diff --git a/docs/content/ingestion/misc-tasks.md b/docs/content/ingestion/misc-tasks.md
index e309bbb76f0..3220d4432d7 100644
--- a/docs/content/ingestion/misc-tasks.md
+++ b/docs/content/ingestion/misc-tasks.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Miscellaneous Tasks
 
 ## Noop Task
diff --git a/docs/content/ingestion/native_tasks.md b/docs/content/ingestion/native_tasks.md
index 34279b974b5..2f87713af29 100644
--- a/docs/content/ingestion/native_tasks.md
+++ b/docs/content/ingestion/native_tasks.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Native Index Tasks
 
 Druid currently has two types of native batch indexing tasks, `index_parallel` which runs tasks
diff --git a/docs/content/ingestion/reports.md b/docs/content/ingestion/reports.md
index 20b1836fa95..00e9337c433 100644
--- a/docs/content/ingestion/reports.md
+++ b/docs/content/ingestion/reports.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Ingestion Reports
 
 ## Completion Report
diff --git a/docs/content/ingestion/schema-changes.md b/docs/content/ingestion/schema-changes.md
index a8d72a099ac..0433c6a6378 100644
--- a/docs/content/ingestion/schema-changes.md
+++ b/docs/content/ingestion/schema-changes.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Schema Changes
 
 Schemas for datasources can change at any time and Druid supports different schemas among segments.
diff --git a/docs/content/ingestion/schema-design.md b/docs/content/ingestion/schema-design.md
index f47aeb8892c..dd2acfdb9a5 100644
--- a/docs/content/ingestion/schema-design.md
+++ b/docs/content/ingestion/schema-design.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Schema Design
 
 This page is meant to assist users in designing a schema for data to be ingested in Druid. Druid intakes denormalized data 
diff --git a/docs/content/ingestion/stream-ingestion.md b/docs/content/ingestion/stream-ingestion.md
index 292e0744277..bdf402605b4 100644
--- a/docs/content/ingestion/stream-ingestion.md
+++ b/docs/content/ingestion/stream-ingestion.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Loading streams
 
 Streams can be ingested in Druid using either [Tranquility](https://github.com/druid-io/tranquility) (a Druid-aware 
diff --git a/docs/content/ingestion/stream-pull.md b/docs/content/ingestion/stream-pull.md
index db3a76ac38f..3af2089e9b2 100644
--- a/docs/content/ingestion/stream-pull.md
+++ b/docs/content/ingestion/stream-pull.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 <div class="note info">
 NOTE: Realtime nodes are deprecated. Please use the <a href="../development/extensions-core/kafka-ingestion.html">Kafka Indexing Service</a> for stream pull use cases instead. 
 </div>
diff --git a/docs/content/ingestion/stream-push.md b/docs/content/ingestion/stream-push.md
index 7a5a9dec0db..60873a063a9 100644
--- a/docs/content/ingestion/stream-push.md
+++ b/docs/content/ingestion/stream-push.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## Stream Push
 
 Druid can connect to any streaming data source through
diff --git a/docs/content/ingestion/tasks.md b/docs/content/ingestion/tasks.md
index 27f446aebc6..0780a4a65f4 100644
--- a/docs/content/ingestion/tasks.md
+++ b/docs/content/ingestion/tasks.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Tasks Overview
 
 Tasks are run on middle managers and always operate on a single data source.
diff --git a/docs/content/ingestion/transform-spec.md b/docs/content/ingestion/transform-spec.md
index 84c00d3ef72..593e0c819ff 100644
--- a/docs/content/ingestion/transform-spec.md
+++ b/docs/content/ingestion/transform-spec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Transform Specs
 
 Transform specs allow Druid to filter and transform input data during ingestion. 
diff --git a/docs/content/ingestion/update-existing-data.md b/docs/content/ingestion/update-existing-data.md
index 3fdf557ef6e..fd21c0ebb17 100644
--- a/docs/content/ingestion/update-existing-data.md
+++ b/docs/content/ingestion/update-existing-data.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Updating Existing Data
 
 Once you ingest some data in a dataSource for an interval and create Druid segments, you might want to make changes to 
diff --git a/docs/content/misc/math-expr.md b/docs/content/misc/math-expr.md
index 321f8fbbd13..623238a2f4e 100644
--- a/docs/content/misc/math-expr.md
+++ b/docs/content/misc/math-expr.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Expressions
 
 <div class="note info">
diff --git a/docs/content/misc/papers-and-talks.md b/docs/content/misc/papers-and-talks.md
index a265ef15e17..5c155593af0 100644
--- a/docs/content/misc/papers-and-talks.md
+++ b/docs/content/misc/papers-and-talks.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Papers
 
 * [Druid: A Real-time Analytical Data Store](http://static.druid.io/docs/druid.pdf) - Discusses the Druid architecture in detail.
diff --git a/docs/content/operations/alerts.md b/docs/content/operations/alerts.md
index 7faa29656f7..5f7fa5113e4 100644
--- a/docs/content/operations/alerts.md
+++ b/docs/content/operations/alerts.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Druid Alerts
 
 Druid generates alerts on getting into unexpected situations.
diff --git a/docs/content/operations/api-reference.md b/docs/content/operations/api-reference.md
index 101af95f9c6..43095a382e7 100644
--- a/docs/content/operations/api-reference.md
+++ b/docs/content/operations/api-reference.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # API Reference
 
 This page documents all of the API endpoints for each Druid service type.
diff --git a/docs/content/operations/dump-segment.md b/docs/content/operations/dump-segment.md
index b881e118955..cbbd9584cd5 100644
--- a/docs/content/operations/dump-segment.md
+++ b/docs/content/operations/dump-segment.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # DumpSegment tool
 
 The DumpSegment tool can be used to dump the metadata or contents of a segment for debugging purposes. Note that the
diff --git a/docs/content/operations/http-compression.md b/docs/content/operations/http-compression.md
index 4bbcd50982e..f89a1d14918 100644
--- a/docs/content/operations/http-compression.md
+++ b/docs/content/operations/http-compression.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # HTTP Compression
 
 Druid supports http request decompression and response compression, to use this, http request header `Content-Encoding:gzip` and  `Accept-Encoding:gzip` is needed to be set.
diff --git a/docs/content/operations/including-extensions.md b/docs/content/operations/including-extensions.md
index 2de6b7fa0ae..3c3a5718c64 100644
--- a/docs/content/operations/including-extensions.md
+++ b/docs/content/operations/including-extensions.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Loading extensions
 
 ## Loading core extensions
diff --git a/docs/content/operations/insert-segment-to-db.md b/docs/content/operations/insert-segment-to-db.md
index 3c4306e5044..046cca19a3f 100644
--- a/docs/content/operations/insert-segment-to-db.md
+++ b/docs/content/operations/insert-segment-to-db.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # insert-segment-to-db Tool
 
 `insert-segment-to-db` is a tool that can insert segments into Druid metadata storage. It is intended to be used
diff --git a/docs/content/operations/metrics.md b/docs/content/operations/metrics.md
index 4729e2e1dab..0eaab33295e 100644
--- a/docs/content/operations/metrics.md
+++ b/docs/content/operations/metrics.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Druid Metrics
 
 Druid generates metrics related to queries, ingestion, and coordination.
diff --git a/docs/content/operations/other-hadoop.md b/docs/content/operations/other-hadoop.md
index f496a9b88b1..9ec07f09f21 100644
--- a/docs/content/operations/other-hadoop.md
+++ b/docs/content/operations/other-hadoop.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Working with different versions of Hadoop
 
 Druid can interact with Hadoop in two ways:
diff --git a/docs/content/operations/password-provider.md b/docs/content/operations/password-provider.md
index 9a89990eec9..d717500f97f 100644
--- a/docs/content/operations/password-provider.md
+++ b/docs/content/operations/password-provider.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Password Provider
 
 Druid needs some passwords for accessing various secured systems like metadata store, Key Store containing server certificates etc.
diff --git a/docs/content/operations/performance-faq.md b/docs/content/operations/performance-faq.md
index b18ec1ad22e..a575ec2ef1f 100644
--- a/docs/content/operations/performance-faq.md
+++ b/docs/content/operations/performance-faq.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Performance FAQ
 
 ## I can't match your benchmarked results
diff --git a/docs/content/operations/pull-deps.md b/docs/content/operations/pull-deps.md
index d9abf575d7a..cfc1689085c 100644
--- a/docs/content/operations/pull-deps.md
+++ b/docs/content/operations/pull-deps.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # pull-deps Tool
 
 `pull-deps` is a tool that can pull down dependencies to the local repository and lay dependencies out into the extension directory as needed.
diff --git a/docs/content/operations/recommendations.md b/docs/content/operations/recommendations.md
index aa365e0768e..1f5f687792b 100644
--- a/docs/content/operations/recommendations.md
+++ b/docs/content/operations/recommendations.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Recommendations
 ===============
 
diff --git a/docs/content/operations/reset-cluster.md b/docs/content/operations/reset-cluster.md
index b16baa781cf..e56218ecd98 100644
--- a/docs/content/operations/reset-cluster.md
+++ b/docs/content/operations/reset-cluster.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # ResetCluster tool
 
 ResetCluster tool can be used to completely wipe out Druid cluster state stored on Metadata and Deep storage. This is
diff --git a/docs/content/operations/rolling-updates.md b/docs/content/operations/rolling-updates.md
index 72acfe01b45..9e8105c861f 100644
--- a/docs/content/operations/rolling-updates.md
+++ b/docs/content/operations/rolling-updates.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Rolling Updates
 ===============
 
diff --git a/docs/content/operations/rule-configuration.md b/docs/content/operations/rule-configuration.md
index c4b0c713e0d..f7cf8ff5ce0 100644
--- a/docs/content/operations/rule-configuration.md
+++ b/docs/content/operations/rule-configuration.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Retaining or Automatically Dropping Data
 
 Coordinator nodes use rules to determine what data should be loaded to or dropped from the cluster. Rules are used for data retention and query execution, and are set on the coordinator console (http://coordinator_ip:port).
diff --git a/docs/content/operations/segment-optimization.md b/docs/content/operations/segment-optimization.md
index a3d8aa67c88..ede5dd1425b 100644
--- a/docs/content/operations/segment-optimization.md
+++ b/docs/content/operations/segment-optimization.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Segment size optimization
 
 In Druid, it's important to optimize the segment size because
diff --git a/docs/content/operations/tls-support.md b/docs/content/operations/tls-support.md
index be9c451e641..19c2a010ea3 100644
--- a/docs/content/operations/tls-support.md
+++ b/docs/content/operations/tls-support.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 TLS Support
 ===============
 
diff --git a/docs/content/operations/use_sbt_to_build_fat_jar.md b/docs/content/operations/use_sbt_to_build_fat_jar.md
index eeae5af9b14..efffb4e4600 100644
--- a/docs/content/operations/use_sbt_to_build_fat_jar.md
+++ b/docs/content/operations/use_sbt_to_build_fat_jar.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Content for build.sbt
 ---------------------
 ```scala
diff --git a/docs/content/querying/aggregations.md b/docs/content/querying/aggregations.md
index 8f65140c5f5..53e1e38e3ce 100644
--- a/docs/content/querying/aggregations.md
+++ b/docs/content/querying/aggregations.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Aggregations
 
 Aggregations can be provided at ingestion time as part of the ingestion spec as a way of summarizing data before it enters Druid. 
diff --git a/docs/content/querying/caching.md b/docs/content/querying/caching.md
index f5da776f61b..91fcc3d35cc 100644
--- a/docs/content/querying/caching.md
+++ b/docs/content/querying/caching.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Query Caching
 
 Druid supports query result caching through an LRU cache. Results are stored as a whole or either on a per segment basis along with the 
diff --git a/docs/content/querying/datasource.md b/docs/content/querying/datasource.md
index a966fbad948..955fe1b0871 100644
--- a/docs/content/querying/datasource.md
+++ b/docs/content/querying/datasource.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 ## Datasources
 
 A data source is the Druid equivalent of a database table. However, a query can also masquerade as a data source, providing subquery-like functionality. Query data sources are currently supported only by [GroupBy](../querying/groupbyquery.html) queries.
diff --git a/docs/content/querying/datasourcemetadataquery.md b/docs/content/querying/datasourcemetadataquery.md
index 2f102226c52..2c6d0de0375 100644
--- a/docs/content/querying/datasourcemetadataquery.md
+++ b/docs/content/querying/datasourcemetadataquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Data Source Metadata Queries
 Data Source Metadata queries return metadata information for a dataSource.  These queries return information about:
 
diff --git a/docs/content/querying/dimensionspecs.md b/docs/content/querying/dimensionspecs.md
index a35b0297e76..4d1df102019 100644
--- a/docs/content/querying/dimensionspecs.md
+++ b/docs/content/querying/dimensionspecs.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Transforming Dimension Values
 
 The following JSON fields can be used in a query to operate on dimension values.
diff --git a/docs/content/querying/filters.md b/docs/content/querying/filters.md
index 596f337f566..a47c416cf41 100644
--- a/docs/content/querying/filters.md
+++ b/docs/content/querying/filters.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Query Filters
 A filter is a JSON object indicating which rows of data should be included in the computation for a query. It’s essentially the equivalent of the WHERE clause in SQL. Druid supports the following types of filters.
 
diff --git a/docs/content/querying/granularities.md b/docs/content/querying/granularities.md
index 677a4767866..b555e0fde5f 100644
--- a/docs/content/querying/granularities.md
+++ b/docs/content/querying/granularities.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Aggregation Granularity
 The granularity field determines how data gets bucketed across the time dimension, or how it gets aggregated by hour, day, minute, etc.
 
diff --git a/docs/content/querying/groupbyquery.md b/docs/content/querying/groupbyquery.md
index 4a90908edf5..da0215cab1f 100644
--- a/docs/content/querying/groupbyquery.md
+++ b/docs/content/querying/groupbyquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # groupBy Queries
 
 These types of queries take a groupBy query object and return an array of JSON objects where each object represents a
diff --git a/docs/content/querying/having.md b/docs/content/querying/having.md
index da37d157100..0260ff183b0 100644
--- a/docs/content/querying/having.md
+++ b/docs/content/querying/having.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Filter groupBy Query Results
 A having clause is a JSON object identifying which rows from a groupBy query should be returned, by specifying conditions on aggregated values.
 
diff --git a/docs/content/querying/joins.md b/docs/content/querying/joins.md
index 6286c5698ad..a7e9af4ee25 100644
--- a/docs/content/querying/joins.md
+++ b/docs/content/querying/joins.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Joins
 
 Druid has limited support for joins through [query-time lookups](../querying/lookups.html). The common use case of 
diff --git a/docs/content/querying/limitspec.md b/docs/content/querying/limitspec.md
index cfd715d890c..0cd2fab4360 100644
--- a/docs/content/querying/limitspec.md
+++ b/docs/content/querying/limitspec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Sort groupBy Query Results
 The limitSpec field provides the functionality to sort and limit the set of results from a groupBy query. If you group by a single dimension and are ordering by a single metric, we highly recommend using [TopN Queries](../querying/topnquery.html) instead. The performance will be substantially better. Available options are:
 
diff --git a/docs/content/querying/lookups.md b/docs/content/querying/lookups.md
index c5bafab5848..a16930ba6d7 100644
--- a/docs/content/querying/lookups.md
+++ b/docs/content/querying/lookups.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Lookups
 
 <div class="note caution">
diff --git a/docs/content/querying/multi-value-dimensions.md b/docs/content/querying/multi-value-dimensions.md
index ef20032baa8..9a5a0970db1 100644
--- a/docs/content/querying/multi-value-dimensions.md
+++ b/docs/content/querying/multi-value-dimensions.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Multi-value dimensions
 
 Druid supports "multi-value" string dimensions. These are generated when an input field contains an array of values
diff --git a/docs/content/querying/multitenancy.md b/docs/content/querying/multitenancy.md
index 4e2b345cbe8..e08ab91ef92 100644
--- a/docs/content/querying/multitenancy.md
+++ b/docs/content/querying/multitenancy.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Multitenancy Considerations
 
 Druid is often used to power user-facing data applications, where multitenancy is an important requirement. This
diff --git a/docs/content/querying/post-aggregations.md b/docs/content/querying/post-aggregations.md
index 9b7d7760738..216302b4322 100644
--- a/docs/content/querying/post-aggregations.md
+++ b/docs/content/querying/post-aggregations.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Post-Aggregations
 Post-aggregations are specifications of processing that should happen on aggregated values as they come out of Druid. If you include a post aggregation as part of a query, make sure to include all aggregators the post-aggregator requires.
 
diff --git a/docs/content/querying/query-context.md b/docs/content/querying/query-context.md
index 135b82bc899..2af1755c8d9 100644
--- a/docs/content/querying/query-context.md
+++ b/docs/content/querying/query-context.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 Query Context
 =============
 
diff --git a/docs/content/querying/querying.md b/docs/content/querying/querying.md
index 1fdb49d7b42..292c7273376 100644
--- a/docs/content/querying/querying.md
+++ b/docs/content/querying/querying.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Querying
 
 Queries are made using an HTTP REST style request to queryable nodes ([Broker](../design/broker.html),
diff --git a/docs/content/querying/scan-query.md b/docs/content/querying/scan-query.md
index 4636aa485e9..e92e7b7e2a7 100644
--- a/docs/content/querying/scan-query.md
+++ b/docs/content/querying/scan-query.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Scan query
 Scan query returns raw Druid rows in streaming mode.
 
diff --git a/docs/content/querying/searchquery.md b/docs/content/querying/searchquery.md
index d621f86ef34..d6ebe25ec86 100644
--- a/docs/content/querying/searchquery.md
+++ b/docs/content/querying/searchquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Search Queries
 A search query returns dimension values that match the search specification.
 
diff --git a/docs/content/querying/searchqueryspec.md b/docs/content/querying/searchqueryspec.md
index 0a22448a168..c4c09ad9ee6 100644
--- a/docs/content/querying/searchqueryspec.md
+++ b/docs/content/querying/searchqueryspec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Refining Search Queries
 Search query specs define how a "match" is defined between a search value and a dimension value. The available search query specs are:
 
diff --git a/docs/content/querying/segmentmetadataquery.md b/docs/content/querying/segmentmetadataquery.md
index e979f5826ac..452dfefb34f 100644
--- a/docs/content/querying/segmentmetadataquery.md
+++ b/docs/content/querying/segmentmetadataquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Segment Metadata Queries
 Segment metadata queries return per-segment information about:
 
diff --git a/docs/content/querying/select-query.md b/docs/content/querying/select-query.md
index ac44e499ae9..633317af2ca 100644
--- a/docs/content/querying/select-query.md
+++ b/docs/content/querying/select-query.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Select Queries
 
 Select queries return raw Druid rows and support pagination.
diff --git a/docs/content/querying/sorting-orders.md b/docs/content/querying/sorting-orders.md
index a50617e5b9a..4e3e7255c36 100644
--- a/docs/content/querying/sorting-orders.md
+++ b/docs/content/querying/sorting-orders.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Sorting Orders
 These sorting orders are used by the [TopNMetricSpec](./topnmetricspec.html), [SearchQuery](./searchquery.html), GroupByQuery's [LimitSpec](./limitspec.html), and [BoundFilter](./filters.html#bound-filter).
 
diff --git a/docs/content/querying/sql.md b/docs/content/querying/sql.md
index e1fb2e43a87..5edd5e37fc9 100644
--- a/docs/content/querying/sql.md
+++ b/docs/content/querying/sql.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # SQL
 
 <div class="note caution">
diff --git a/docs/content/querying/timeboundaryquery.md b/docs/content/querying/timeboundaryquery.md
index 5aa95811527..db363d5f9db 100644
--- a/docs/content/querying/timeboundaryquery.md
+++ b/docs/content/querying/timeboundaryquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 # Time Boundary Queries
 Time boundary queries return the earliest and latest data points of a data set. The grammar is:
 
diff --git a/docs/content/querying/timeseriesquery.md b/docs/content/querying/timeseriesquery.md
index d71632994a4..a40df5835d9 100644
--- a/docs/content/querying/timeseriesquery.md
+++ b/docs/content/querying/timeseriesquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 Timeseries queries
 ==================
 
diff --git a/docs/content/querying/topnmetricspec.md b/docs/content/querying/topnmetricspec.md
index 4cf035c2728..bf0d039e023 100644
--- a/docs/content/querying/topnmetricspec.md
+++ b/docs/content/querying/topnmetricspec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 TopNMetricSpec
 ==================
 
diff --git a/docs/content/querying/topnquery.md b/docs/content/querying/topnquery.md
index bca0bdc5891..cbcb9e14d47 100644
--- a/docs/content/querying/topnquery.md
+++ b/docs/content/querying/topnquery.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,9 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
 TopN queries
 ==================
 
diff --git a/docs/content/querying/virtual-columns.md b/docs/content/querying/virtual-columns.md
index 30a94e42c7f..67a9310163e 100644
--- a/docs/content/querying/virtual-columns.md
+++ b/docs/content/querying/virtual-columns.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Virtual Columns
 
 Virtual columns are queryable column "views" created from a set of columns during a query. 
diff --git a/docs/content/toc.md b/docs/content/toc.md
index 50b31872d1a..9ed563b49f4 100644
--- a/docs/content/toc.md
+++ b/docs/content/toc.md
@@ -1,3 +1,7 @@
+---
+layout: toc
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: toc
----
-
 ## Getting Started
   * [Design](/docs/VERSION/design/index.html)
     * [What is Druid?](/docs/VERSION/design/index.html#what-is-druid)
diff --git a/docs/content/tutorials/cluster.md b/docs/content/tutorials/cluster.md
index 65d7f177f6a..267b632180f 100644
--- a/docs/content/tutorials/cluster.md
+++ b/docs/content/tutorials/cluster.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Clustering
 
 Druid is designed to be deployed as a scalable, fault-tolerant cluster.
diff --git a/docs/content/tutorials/index.md b/docs/content/tutorials/index.md
index e68aaa7d65b..a2c2f7f0a08 100644
--- a/docs/content/tutorials/index.md
+++ b/docs/content/tutorials/index.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Druid Quickstart
 
 In this quickstart, we will download Druid and set it up on a single machine. The cluster will be ready to load data
diff --git a/docs/content/tutorials/tutorial-batch-hadoop.md b/docs/content/tutorials/tutorial-batch-hadoop.md
index 921972f4660..33870fcc34a 100644
--- a/docs/content/tutorials/tutorial-batch-hadoop.md
+++ b/docs/content/tutorials/tutorial-batch-hadoop.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Load batch data using Hadoop
 
 This tutorial shows you how to load data files into Druid using a remote Hadoop cluster.
diff --git a/docs/content/tutorials/tutorial-batch.md b/docs/content/tutorials/tutorial-batch.md
index d7842ba654f..a356d227a56 100644
--- a/docs/content/tutorials/tutorial-batch.md
+++ b/docs/content/tutorials/tutorial-batch.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Loading a file
 
 ## Getting started
diff --git a/docs/content/tutorials/tutorial-compaction.md b/docs/content/tutorials/tutorial-compaction.md
index 697ce6f017d..fdac3c77557 100644
--- a/docs/content/tutorials/tutorial-compaction.md
+++ b/docs/content/tutorials/tutorial-compaction.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Compacting segments
 
 This tutorial demonstrates how to compact existing segments into fewer but larger segments.
diff --git a/docs/content/tutorials/tutorial-delete-data.md b/docs/content/tutorials/tutorial-delete-data.md
index 877abb957b3..ff5f49790b3 100644
--- a/docs/content/tutorials/tutorial-delete-data.md
+++ b/docs/content/tutorials/tutorial-delete-data.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Deleting data
 
 This tutorial demonstrates how to delete existing data.
diff --git a/docs/content/tutorials/tutorial-ingestion-spec.md b/docs/content/tutorials/tutorial-ingestion-spec.md
index 1c3d34cacb8..5f8934428e1 100644
--- a/docs/content/tutorials/tutorial-ingestion-spec.md
+++ b/docs/content/tutorials/tutorial-ingestion-spec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Writing an ingestion spec
 
 This tutorial will guide the reader through the process of defining an ingestion spec, pointing out key considerations and guidelines.
diff --git a/docs/content/tutorials/tutorial-kafka.md b/docs/content/tutorials/tutorial-kafka.md
index 279533136c0..d4a004a261b 100644
--- a/docs/content/tutorials/tutorial-kafka.md
+++ b/docs/content/tutorials/tutorial-kafka.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Load streaming data from Kafka
 
 ## Getting started
diff --git a/docs/content/tutorials/tutorial-query.md b/docs/content/tutorials/tutorial-query.md
index 23de38c9853..741a8f3275f 100644
--- a/docs/content/tutorials/tutorial-query.md
+++ b/docs/content/tutorials/tutorial-query.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Querying data
 
 This tutorial will demonstrate how to query data in Druid, with examples for Druid's native query format and Druid SQL.
diff --git a/docs/content/tutorials/tutorial-retention.md b/docs/content/tutorials/tutorial-retention.md
index b5acc41a706..5d999bc3862 100644
--- a/docs/content/tutorials/tutorial-retention.md
+++ b/docs/content/tutorials/tutorial-retention.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Configuring data retention
 
 This tutorial demonstrates how to configure retention rules on a datasource to set the time intervals of data that will be retained or dropped.
diff --git a/docs/content/tutorials/tutorial-rollup.md b/docs/content/tutorials/tutorial-rollup.md
index f9451629fed..282fe654c10 100644
--- a/docs/content/tutorials/tutorial-rollup.md
+++ b/docs/content/tutorials/tutorial-rollup.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Roll-up
 
 Druid can summarize raw data at ingestion time using a process we refer to as "roll-up". Roll-up is a first-level aggregation operation over a selected set of columns that reduces the size of stored segments.
diff --git a/docs/content/tutorials/tutorial-tranquility.md b/docs/content/tutorials/tutorial-tranquility.md
index 2b14c3af2df..084243f8b3a 100644
--- a/docs/content/tutorials/tutorial-tranquility.md
+++ b/docs/content/tutorials/tutorial-tranquility.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Load streaming data with HTTP push
 
 ## Getting started
diff --git a/docs/content/tutorials/tutorial-transform-spec.md b/docs/content/tutorials/tutorial-transform-spec.md
index 677206acf07..32ac5dd4ad9 100644
--- a/docs/content/tutorials/tutorial-transform-spec.md
+++ b/docs/content/tutorials/tutorial-transform-spec.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Transforming input data
 
 This tutorial will demonstrate how to use transform specs to filter and transform input data during ingestion.
diff --git a/docs/content/tutorials/tutorial-update-data.md b/docs/content/tutorials/tutorial-update-data.md
index 4a2b7258a03..7ca1d92d067 100644
--- a/docs/content/tutorials/tutorial-update-data.md
+++ b/docs/content/tutorials/tutorial-update-data.md
@@ -1,3 +1,7 @@
+---
+layout: doc_page
+---
+
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
@@ -17,10 +21,6 @@
   ~ under the License.
   -->
 
----
-layout: doc_page
----
-
 # Tutorial: Updating existing data
 
 This tutorial demonstrates how to update existing data, showing both overwrites and appends.


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org