+ {%- if p.permalink contains '/blog/' %}
+ {%- assign url = '/blog/' -%}
+ {%- else -%}
+ {%- assign url = p.url -%}
+ {%- endif -%}
+ {{ p.title }}
+ {%- if page.url contains p.url -%}
(current)
{%- endif -%}
diff --git a/_includes/metadata.html b/_includes/metadata.html
index 0813a87f5411..756e4f8370f6 100644
--- a/_includes/metadata.html
+++ b/_includes/metadata.html
@@ -24,7 +24,7 @@
{%- capture title -%}{{ site.title }}{%- endcapture -%}
{%- endif -%}
{% if page.url == '/blog/index.html' %}
- {{ site.blog_nav_title }} | {{ title }}
+ {{ page.title }} | {{ title }}
{%- elsif page.title != "blank" and page.url != "/" -%}
{%- if page.title == nil or page.title == "" -%}
{{ page.date | date: "%Y" }} | {{ title }}
diff --git a/blog/index.html b/_pages/blog.md
similarity index 99%
rename from blog/index.html
rename to _pages/blog.md
index b4b064c7cade..a21b43af7613 100644
--- a/blog/index.html
+++ b/_pages/blog.md
@@ -1,6 +1,9 @@
---
layout: default
+permalink: /blog/
title: blog
+nav: true
+nav_order: 1
pagination:
enabled: true
collection: posts
diff --git a/_pages/cv.md b/_pages/cv.md
index 1f7e8a1f7214..ad3e26ddd234 100644
--- a/_pages/cv.md
+++ b/_pages/cv.md
@@ -3,7 +3,7 @@ layout: cv
permalink: /cv/
title: cv
nav: true
-nav_order: 4
+nav_order: 5
cv_pdf: example_pdf.pdf
description: This is a description of the page. You can modify it in '_pages/cv.md'. You can also change or remove the top pdf download button.
toc:
diff --git a/_pages/dropdown.md b/_pages/dropdown.md
index 90754719e769..cc282afdc8c1 100644
--- a/_pages/dropdown.md
+++ b/_pages/dropdown.md
@@ -2,7 +2,7 @@
layout: page
title: submenus
nav: true
-nav_order: 7
+nav_order: 8
dropdown: true
children:
- title: publications
@@ -10,4 +10,7 @@ children:
- title: divider
- title: projects
permalink: /projects/
+ - title: divider
+ - title: blog
+ permalink: /blog/
---
\ No newline at end of file
diff --git a/_pages/profiles.md b/_pages/profiles.md
index bc8d4d3913f7..72546a766358 100644
--- a/_pages/profiles.md
+++ b/_pages/profiles.md
@@ -4,7 +4,7 @@ permalink: /people/
title: people
description: members of the lab or group
nav: true
-nav_order: 6
+nav_order: 7
profiles:
# if you want to include more than one profile, just replicate the following block
diff --git a/_pages/projects.md b/_pages/projects.md
index 0ae881651844..3c0139cf9e91 100644
--- a/_pages/projects.md
+++ b/_pages/projects.md
@@ -4,7 +4,7 @@ title: projects
permalink: /projects/
description: A growing collection of your cool projects.
nav: true
-nav_order: 2
+nav_order: 3
display_categories: [work, fun]
horizontal: false
---
diff --git a/_pages/publications.md b/_pages/publications.md
index 5c6d210d4cac..47729ac24c1b 100644
--- a/_pages/publications.md
+++ b/_pages/publications.md
@@ -4,7 +4,7 @@ permalink: /publications/
title: publications
description: publications by categories in reversed chronological order. generated by jekyll-scholar.
nav: true
-nav_order: 1
+nav_order: 2
---
diff --git a/_pages/repositories.md b/_pages/repositories.md
index ee29f385f1a7..3e405c9bc805 100644
--- a/_pages/repositories.md
+++ b/_pages/repositories.md
@@ -4,7 +4,7 @@ permalink: /repositories/
title: repositories
description: Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories.
nav: true
-nav_order: 3
+nav_order: 4
---
## GitHub users
diff --git a/_pages/teaching.md b/_pages/teaching.md
index ea93b1c45e06..87bb1a5c469a 100644
--- a/_pages/teaching.md
+++ b/_pages/teaching.md
@@ -4,7 +4,7 @@ permalink: /teaching/
title: teaching
description: Materials for courses you taught. Replace this text with your description.
nav: true
-nav_order: 5
+nav_order: 6
---
For now, this page is assumed to be a static description of your courses. You can convert it to a collection similar to `_projects/` so that you can have a dedicated page for each course.