Jekyll-Base | Base files and folder structure for Jekyll | Static Site Generator library
kandi X-RAY | Jekyll-Base Summary
kandi X-RAY | Jekyll-Base Summary
This is a base that will get you started with jekyll, created by Daniel McGraw (@danielmcgraw).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Jekyll-Base
Jekyll-Base Key Features
Jekyll-Base Examples and Code Snippets
Community Discussions
Trending Discussions on Jekyll-Base
QUESTION
I cannot setup a new Jekyll-based GitHub pages site based on the tutorials I've read. Here is the full list of steps I took:
- Ran
jekyll new jek_test
. This created a new dir. - Used GitHub desktop to create a git repository in that dir, then pushed it to a new git repository, jek_test.
- In the project settings GitHub Pages panel, I choose master branch as source.
So far this had no effect I could see. Navigating to https://gadial.github.io/jek_test/ yielded a 404 error.
- I added the following two lines to the projects Gemfile:
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
Now, after pushing to GitHub, the https://gadial.github.io/jek_test/ link is working, but the page loaded is obviously incorrect; the CSS is not loaded, the links are wrong, etc.
I guess I am missing several crucial steps, but all the tutorials I've found either go "simply push it and everything will be ok", or seem to assume I am not using a Gem-based theme, meaning all the layouts, css files etc. are explicitly stored in the _layouts directories etc.
Am I going about this the right way? What is the simplest method to get a Jekyll-generated site up and running on GitHub pages?
...ANSWER
Answered 2019-Jun-20 at 15:42You are using minima
which is the default so, that's not the issue but, if you have a look at your about.md you'll see that it is looking for a layout called page. You currently don't have a _layouts
folder
Try creating a folder called _layouts
and create a layout in that called page.html
with however you want it to display the contents of all files with layout : page
The default page.html
can be found here.
QUESTION
I'm trying to write a custom tag for my Jekyll-based site that receives a bibtex string and replaces/removes some content.
The tag receives a bibtex string like this:
...ANSWER
Answered 2018-Apr-14 at 10:43The solution I found uses filters instead of tags
(First time answering my own question)
QUESTION
I have a Jekyll-based GitHub Pages blog using a slightly modified Hyde theme. It has four pages using the 'page' layout that can be accessed using the permanent sidebar: Blog, About, Projects, and Publications. Here is what these pages look like:
The Blog and Project pages have sub-pages that use 'post' and 'project' layouts, respectively. They were working fine for several months without a problem, but yesterday after making a new post, I found that the theme is no longer working for my posts or projects, even though it continues to work for my pages. This is what my posts look like:
All the content is there for the sidebar and post, and the Markdown is rendered, but the Jekyll theme doesn't seem to be working. My project pages look similar.
I am very confused because I had not changed anything related to the theme or layouts in about two months, and I know my site was working normally even a few days ago. This problem seemed to come out of nowhere and I have had no luck finding a solution.
Here is the repository for the site: https://github.com/rgriff23/rgriff23.github.io
...ANSWER
Answered 2017-Aug-06 at 05:32The problem is that the {{ site.baseurl }}
is not working properly since it is not prepending to the css path so the CSS files are not loaded.
Try replacing the {{ site.baseurl }}
with /
in head.html
which should fix the issue for sure.
Also check this post which explains the baseurl
QUESTION
I have a GitHub organization where I publish a webpage from the repository orgname.github.io
. Of course, I have several project repositories where I'd like to host documentation about those projects. This is all possible through GitHub Pages.
However, I'm not sure how to synchronize the configuration of the organization page with the project pages. I want the website to look the same whether I'm at http://orgname.github.io or if I'm at http://orgname.github.io/project.
What can I do to keep the Jekyll-based configuration in sync?
...ANSWER
Answered 2017-Jan-05 at 00:57Since the Github pages sites are hosted in the gh-pages branch of their respective repos, they are independent from each other and the project pages.
I'm assuming your content will be unique for each repo, so you're asking about syncing the theme/structure etc, which as far as I know that cannot be synced. I would recommend choosing a Jekyll theme for all of your sites and stick to editing content.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Jekyll-Base
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page