Refactor sidebar logic + Add Table of Contents in reading page (#33)

* Refactor sidebar logic + fix responsiveness

* Add TOC

* Add Pagination

* Update exampleSite

* Update README.md
This commit is contained in:
Md. Emruz Hossain 2020-07-22 04:14:08 +06:00 committed by GitHub
parent 647578e88b
commit fa4d474974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 1735 additions and 679 deletions

View file

@ -8,9 +8,13 @@ markup:
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 2
endLevel: 6
ordered: false
# Enable Google Analytics
googleAnalytics: UA-xxxxxxxx
googleAnalytics: UA-XXXXXXXXX-X
# Enable Disqus forum
disqusShortname: does-not-exist
@ -32,6 +36,9 @@ params:
# specify whether you want to write blog post or not
enableBlogPost: true
# specify whether you want to show Table of Contents in reading page
enableTOC: true
# specify the list of custom menus that you want to show in the top navbar.
# they will be separated by a divider from the main menus.
customMenus:

View file

@ -5,7 +5,7 @@ section:
weight: 6
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# hideTitle: true
# Your achievements achievements
achievements:

View file

@ -5,7 +5,7 @@ section:
weight: 4
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# hideTitle: true
# filter buttons
buttons:

View file

@ -5,6 +5,6 @@ section:
weight: 5
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# hideTitle: true
# no additional configuration is required

View file

@ -5,7 +5,7 @@ section:
weight: 2
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# hideTitle: true
# Your Skills.
# Give a summary of you each skill in the summary section.