diff --git a/.gitignore b/.gitignore
index 2289ca4681..c05c5c5a79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ Gemfile.lock
.jekyll-metadata
.DS_Store
.jekyll-cache
+.idea/
diff --git a/_config.yml b/_config.yml
index 894f2111e7..898fce7f10 100755
--- a/_config.yml
+++ b/_config.yml
@@ -24,6 +24,12 @@ title: 'Lagrange'
description: 'a minimalist Jekyll theme'
author: 'Paul Le'
+# URL settings
+url: # Root of the domain. Full URL including protocol, domain, and port (if applicable), e.g., https://example.com
+
+# baseurl is optional: Name of sub-directory where the site is served from, e.g., in https://example.com/Lagrange
+baseurl: /Lagrange # comment this line if the site lives at the root of the domain
+
# RSS 2.0 can be used instead of Atom by uncommenting following two lines
#feed:
# path: rss-feed.xml
diff --git a/_includes/footer.html b/_includes/footer.html
index d53ea471c7..5259485b78 100755
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,4 @@
diff --git a/_includes/head.html b/_includes/head.html
index 0e2b5be1fd..0a4ea1a9b4 100755
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -8,12 +8,12 @@
-
-
+
+
{% feed_meta %}
-
diff --git a/_includes/header.html b/_includes/header.html
index 7fc7122a5b..2578aac444 100755
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -1,6 +1,6 @@