Skip to content

Commit

Permalink
Add support for nav_order and Fix hardcoded navbar titles (alshediv…
Browse files Browse the repository at this point in the history
  • Loading branch information
rohandebsarkar authored and zkotti committed Dec 10, 2022
1 parent 9031de6 commit b97e58a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
34 changes: 18 additions & 16 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ pagination:
disqus_shortname: # put your disqus shortname
# https://help.disqus.com/en/articles/1717111-what-s-a-shortname

# External sources.
# If you have blog posts published on medium.com or other exteranl sources,
# you can display them in your blog by adding a link to the RSS feed.
external_sources:
- name: medium.com
rss_url: https://medium.com/@al-folio/feed

# -----------------------------------------------------------------------------
# Collections
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -153,8 +146,8 @@ plugins:
- jekyll-diagrams
- jekyll-email-protect
- jekyll-feed
- jekyll-github-metadata
- jekyll-imagemagick
- jekyll-minifier
- jekyll-paginate-v2
- jekyll/scholar
- jekyll-sitemap
Expand All @@ -165,18 +158,28 @@ plugins:
# Sitemap settings
defaults:
- scope:
path: "assets/**/*.*"
path: "assets/**/*.*"
values:
sitemap: false
sitemap: false
# Extras
github: [metadata]

# -----------------------------------------------------------------------------
# Jekyll Minifier
# Jekyll optimization
# -----------------------------------------------------------------------------

jekyll-minifier:
exclude: ['robots.txt']
uglifier_args:
harmony: true
# HTML remove comments (<!-- .... -->)
remove_HTML_comments: false

# HTML beautifier (_plugins/beautify.rb) / https://github.com/threedaymonk/htmlbeautifier
beautify: false # This function has conflict with the code snippets, they can be displayed incorrectly

# HTML minify (_plugins/minify.rb) Thanks to: https://www.ffbit.com/blog/2021/03/17/html-minification-in-jekyll.html
minify: false

# CSS/SASS minify
sass:
style: compressed

# -----------------------------------------------------------------------------
# Jekyll Archives
Expand Down Expand Up @@ -222,7 +225,6 @@ scholar:

query: "@*"

filtered_bibtex_keywords: [abbr, abstract, arxiv, bibtex_show, html, pdf, selected, supp, blog, code, poster, slides, website] # Filter out certain bibtex entry keywords used internally from the bib output

# -----------------------------------------------------------------------------
# Responsive WebP Images
Expand Down
6 changes: 4 additions & 2 deletions _includes/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
{%- else -%}
{%- capture title -%}{{ site.title }}{%- endcapture -%}
{%- endif -%}
{%- if page.title != "blank" and page.url != "/" -%}
{{ title }} | {{ page.title }}
{% if page.url == '/blog/index.html' %}
{{ site.blog_nav_title }} | {{ title }}
{%- elsif page.title != "blank" and page.url != "/" -%}
{{ page.title }} | {{ title }}
{%- else -%}
{{ title }}
{%- endif -%}
Expand Down

0 comments on commit b97e58a

Please sign in to comment.