Comments (9)
@makayla-moster I'm pretty sure that you can. I just recommended that way cause that's the "official" way according to the docs. My solution would be to change the _config.yml, specifically the baseurl.
Let's say that your repo has the name note-garden, your baseurl should be /note-garden. But now you will have broken links and in general the assets won't work.
What you have to do is, go to any html layout/include and check the links and assets and make sure they are correctly linked to note-garden. You can easily do that by just applying {{site.baseurl}}
in that link.
For example a link that I see in the navbar should be changed to {{site.baseurl}}/posts
, it will then correctly point out to /note-garden/posts.
Note: I would first test the site a lot after changing the baseurl and inserting {{site.baseurl}}
to links just to make sure that everything works.
from jekyll-garden.github.io.
@makayla-moster : I just forked the repo, created one named sub-notes and it's working fine. (The UI is different as homepage CSS is loading over this sub-domain)
Here is what I did :
- Went to the Project page, and forked by clicking "Use this template"
- Named it "sub-notes"
- Modified config.yml line 23 and 24
baseurl: "/sub-notes"
url: ""
- Went to Github pages settings, activated Pages.
- Finally, modified some markdown, so that Jekyll will trigger and create Github Page environment
- Done! (I have CNAME already set, hence it's going to hiran.in/sub-notes)
Try this! :)
from jekyll-garden.github.io.
@hfactor Thank you! I'll check it out!
from jekyll-garden.github.io.
- Both are fine, what you need is there in the main branch.
- Yes
- As-is is fine. Github page now supports any branch
- Nope. No need.
Check documentation at https://jekyll-garden.github.io/posts/how-to
I will add point 1 to that doc so that it's clear for everyone.
from jekyll-garden.github.io.
I'm also having this trouble trying to deploy this as a template from a project repository at makayla-moster.github.io/note-garden.
The theme isn't displaying correctly, is there something I've done incorrectly? I was super hype for this template to work with GH pages and it isn't, unfortunately.
My code is here.
from jekyll-garden.github.io.
@makayla-moster I think the problem with your setup is that you forked the theme in a Repository called note-garden. In the official how-to of the theme (check here) you can see that it wants you to create a Repository with a specific name yourusername.github.io (in your case it should be makayla-moster.github.io).
After that the theme should work just fine.
from jekyll-garden.github.io.
@UnipiNotes so there's no way to host this project outside of yourusername.github.io? I use that for my personal website and would rather keep the two separate.
from jekyll-garden.github.io.
There are URL-level bugs, as I have hard-coded at most places and baseurl was never considered. This is a bug to be sorted. Ref : Link
from jekyll-garden.github.io.
Subpath is fixed. Check the latest version!
from jekyll-garden.github.io.
Related Issues (20)
- Can't start jekyll server locally HOT 3
- Are wikilinks broken? HOT 2
- Using simply Jekyll tags HOT 3
- Added notes are displayed but link to note page throws 404. HOT 7
- Base URL not considered while building hyperlinks HOT 1
- Support for link aliasing HOT 1
- Could I port this theme to Hugo? HOT 2
- Deploy outside of Github? HOT 3
- Disable github action HOT 4
- cannot search by chinese; HOT 1
- Burger navbar does not work HOT 3
- support for markdown highlights and inline mathjax HOT 1
- Support for Graph View [enhancement] [feature request] HOT 4
- Callouts (AKA admonitions) not rendered HOT 2
- Favicon is not displayed on /
- Add support for tags HOT 3
- Date format HOT 1
- Setting the homepage/enabled parameter to false in _config.yml does not work as expected.
- Navbar items still focused after click and not focused
- Linking to notes from home page HOT 4
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 jekyll-garden.github.io.