diff --git a/_config.yml b/_config.yml index 8b30a88..5a8950f 100644 --- a/_config.yml +++ b/_config.yml @@ -1,7 +1,7 @@ title: Digital Notes Garden name: Boris Mann user_description: "Open Source. Community. Decentralized Web. Building dev tools at Fission. Cooks & eats." -description: "Notes and long term archive for Boris Mann" +description: "Second Brain, Daily Notes, and long term archive of Boris Mann" notes_url: "https://bmannconsulting.com" notes_title: Notes, Articles, and Links notes_tagline: Information gardening @@ -12,7 +12,7 @@ baseurl: "/" # the subpath of your site, e.g. /blog url: "https://bmannconsulting.com" # the base hostname & protocol for your site, e.g. http://example.com encoding: utf-8 -exclude: ['.env', 'fission.yaml', 'gemset.nix', 'pages'] +exclude: ['.env', 'fission.yaml', 'gemset.nix', 'pages', 'fission.yaml', 'blog.code-workspace', 'netlify.toml', '_ignore'] markdown: CommonMarkGhPages # markdown: kramdown @@ -40,12 +40,12 @@ sass: style: compressed # Default permalink -permalink: /:path/:title +permalink: /:path/:title/ collections: notes: output: true - permalink: /:title + permalink: /:title/ disqus: shortname: raghuveerdotnet @@ -56,22 +56,25 @@ defaults: type: posts values: layout: post - permalink: /blog/:year/:month/:day/:title + permalink: /blog/:year/:month/:day/:title/ content-type: post + section: blog - scope: path: "_posts/archive/*" type: posts values: layout: post - permalink: /archive/:year/:month/:day/:title + permalink: /archive/:year/:month/:day/:title/ content-type: post + section: archive - scope: path: "_posts/journal/*" type: posts values: layout: post - permalink: /journal/:year/:month/:day/:title + permalink: /journal/:year/:month/:day/ content-type: post + section: journal - scope: path: "_notes/*" type: notes diff --git a/_includes/backlinks.html b/_includes/backlinks.html index 5579944..dad5e8b 100644 --- a/_includes/backlinks.html +++ b/_includes/backlinks.html @@ -1,4 +1,5 @@ +{%- unless page.permalink == "/" -%} {%- assign link_count = 0 -%} {%- assign wiki_link_title = '[' | append: page.title | append: ']' -%} {%- for note in site.notes -%} @@ -60,4 +61,5 @@
-{%- endif -%} \ No newline at end of file +{%- endif -%} +{%- endunless -%} \ No newline at end of file diff --git a/_includes/contextmenu.html b/_includes/contextmenu.html index 9635a20..3e46d6b 100644 --- a/_includes/contextmenu.html +++ b/_includes/contextmenu.html @@ -1,4 +1,3 @@ -{%- if page.permalink == "/" or page.permalink == "/notes" -%} - -{%- endif -%} \ No newline at end of file + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..6fdf606 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,33 @@ + + + + + + + + + + {%- if page.title -%} + + + + {{ page.title }} - {{site.title}} + {%- else -%} + + + {{ site.name }}'s {{site.title}} + {%- endif -%} + + + + + + + + + + + + \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html index 89b4655..0816a38 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -19,7 +19,7 @@