diff --git a/config/config.ini.example b/config/config.ini.example
index 41edb78..089af4c 100644
--- a/config/config.ini.example
+++ b/config/config.ini.example
@@ -38,6 +38,9 @@ google.publisher = ""
; Google analytics
google.analytics.id = ""
+; Google WMT ID verification
+google.wmt.id = ""
+
; Pagination, RSS, and JSON
posts.perpage = "5"
tag.perpage = "10"
@@ -81,4 +84,4 @@ lightbox = "off"
views.root = "themes/logs"
; Framework config. No need to edit.
-views.layout = "layout"
\ No newline at end of file
+views.layout = "layout"
diff --git a/system/includes/functions.php b/system/includes/functions.php
index 23f9aad..c0c416e 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -1064,6 +1064,15 @@ EOF;
}
}
+// Google Web Master Tool
+function wmt(){
+ $wmt_id = config('google.wmt.id');
+ $meta_wmt = '';
+ if (!empty($wmt_id)) {
+ return $meta_wmt;
+ }
+}
+
// Menu
function menu(){
$menu = config('blog.menu');
@@ -1733,4 +1742,4 @@ function is_csrf_proper($csrf_token)
return true;
}
return false;
-}
\ No newline at end of file
+}
diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php
index 68f9238..e666464 100644
--- a/themes/clean/layout.html.php
+++ b/themes/clean/layout.html.php
@@ -5,6 +5,7 @@
+
@@ -36,4 +37,4 @@