Skip to content

Commit

Permalink
Experiment with ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
lucymhdavies committed Aug 10, 2022
1 parent bf919bf commit e6e7d53
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ gem "kramdown-parser-gfm"
gem "kramdown-syntax-coderay"
gem "jekyll"
gem "webrick"
gem 'jekyll-toc'

#seo
gem "jekyll-seo-tag", github: "jekyll/jekyll-seo-tag"
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ twitter:
username: strawbsystem
card: summary
plugins:
- jekyll-toc
- jekyll-seo-tag

# Build settings
Expand All @@ -40,3 +41,6 @@ exclude:
- screenshot.png
- docs/
- node_modules


excerpt_separator: "<!--more-->"
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
{% include footer.html %}
</main>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>{{ page.title }}</h1>

</header>
<div class="post-content">
{{ content }}
{{ content | toc }}
</div>
</div>
</div>
4 changes: 1 addition & 3 deletions pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: post
title: About
permalink: about
category: about
toc: true

---
<div class="profile">
Expand All @@ -16,14 +17,11 @@ We’re a plural system, and inclusive of all who identify as plural in good fai
Current Fronter:
<iframe src="https://widgets.lmhd.me/fronter/" id="fronter"></iframe>



Content warnings for the below:
* Discussion of origin
* Medical terminology (including some outdated terms)



# What?
If you have no idea what all that means, [MoreThanOne.info](https://morethanone.info/) is a good starting point for information about how this whole thing works, as well as some useful definitions:

Expand Down

0 comments on commit e6e7d53

Please sign in to comment.