Comments (2)
This is possible, with little changes, GitHub pages isn't compatible with the jekyll-toc module used.
You can use this one, which won't break Github pages :
https://github.com/allejo/jekyll-toc
Tell me if the following works for you :
- Once you have forked the repo and gave it the name
username.github.io
, go to_includes/content.html
and replace{%- include toc.html -%}
by{% include toc.html html=content %}
- Remove the
toc.html
file and replace it with this one.
Now, you can create your GitHub Page. If you need to set up a theme to start it, you can remove it in _config.yml
and replace it with theme: null
.
See :
I'll see if I can modify this plugin so that it has the same layout as the current one (which I like).
from notenote.link.
When using Pages but for a "Project page" (i.e. the url is "user.github.io/project") some of the links don't take in account the baseurl from _config.yml
, so they point to "user.github.io". For example in layout.html
, header.html
, feed.html
(also L27, L47 and L69) and content.html
.
I don't know if there's a reason for this, or if changing it would cause problems when publishing in Netlify or somewhere else, but adding {{ site.baseurl }}
in those cases worked for me.
Thanks for the amazing plugin!
from notenote.link.
Related Issues (17)
- Remove DSStore files HOT 5
- Links require filename and title in YAML to be the same HOT 1
- Cross-syncing with obsidian git HOT 2
- Sliding Window Mode (Andy Matuschak's Notes Style)
- Embedding Other Notes HOT 4
- [resolved] ffi-1.12.2 requires ruby version 2.8 dev
- [Enhancement] Add a dark/light toggle
- Chinese Filenames HOT 1
- required Frontmatter and metadata in markdowns to showing on site
- why link to markdown have not right path?
- Transclusion?
- how to use different theme? HOT 1
- Applying another theme HOT 2
- Seasons explanation HOT 2
- Sidenotes architecture HOT 1
- The RSS feed seems to have broken with this fork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notenote.link.