leap-day | Leap day is a Jekyll theme for GitHub Pages | Theme library
kandi X-RAY | leap-day Summary
kandi X-RAY | leap-day Summary
Leap day is a Jekyll theme for GitHub Pages
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 leap-day
leap-day Key Features
leap-day Examples and Code Snippets
Community Discussions
Trending Discussions on leap-day
QUESTION
I have a Github repository with Github-Pages activated using theme: jekyll-theme-leap-day
that is provided in the repository settings. I would like to add an image that is in my repository to the webpage that is created by Github-Pages. How do I do it?
I have tried:
...ANSWER
Answered 2022-Mar-11 at 14:25Instead of using this as image src
QUESTION
I am trying to contribute to a Github Page/Jekyll site and want to be able to visualise changes locally but when I run bundle exec jekyll serve
but I get this output:
ANSWER
Answered 2021-Feb-02 at 16:29I had the same problem and I found a workaround here at https://github.com/jekyll/jekyll/issues/8523
Add gem "webrick"
to the Gemfile in your website. Than run bundle install
At this point you can run bundle exec jekyll serve
For me it works!
QUESTION
I'm using a Azure Devops Pipeline to build my Jekyll Blog Site and to publish it to Azure Blob Storage. It has of late been working OK, but I did a new post today and it failed in the Build step. All worked Ok a day or so ago. Nb: The build is triggered by a commit to to the Devops repository. The site built OK locally.
...ANSWER
Answered 2021-Feb-10 at 17:24Azure Devops Pipelline Jekyll Build Failure
If you are using the private agent, please try to following steps to resolve this error:
- Running
bundle info kramdown
will give you the path to wherekramdown
has been installed. - Run
gem env
to get an insight on all paths Ruby is concerned about. - If the directory where
kramdown
got installed from above isn't listed in thegem env
output, you'll have to manually add that path
If you are using the hosted agent, please try to reference following suggestions:
Add gem "webrick
" to the Gemfile
in your website. Than run bundle install
At this point you can run bundle exec jekyll build
QUESTION
I have set up some website using GitHub Pages and used the Leap Day theme. Here's the repository containing the theme's original source code and this is how the template looks in practice.
Since I wanted to customize my website more, I added a navigation bar from bootstrap at the top of the page. Afterwards, I adjusted margins and onsets of the Leap Day template code in order for the actual website's contents to start only below the fixed navigation bar (to avoid that the navigation bar overlaps the rest of the website). For that, I adjusted mainly this CSS file. Also in that file, I renamed the name of the original navigation bar that was present in the template already, and that is shown to the left of the website, to nav2
. The custom (top-)navigation bar is called navi
.
Well, after all, most of the website is running smoothly and does what it's supposed to do (presenting some project).
However, one problem has remained after the introduction of the additional top-navigation bar, namely that a click onto the name of a certain section or subsection of the currently shown website doesn't lead the user immediately to the start of the respective section any longer, but that what the user is going to see at the start of the actual website's content is somewhere below start of the requested section. As I understand it, the start of some section, e.g. Introduction
, is moved to a certain height y
on the website when the user clicks onto the Introduction
-section's name in the left navigation bar. However, now that the additional navigation bar at the top has been added, such that all further contents have moved downwards, the position y
, where the start of the section is shown, is hidden by some banner at the top of the page.
Therefore, I was wondering if anyone knows which of the many variables in the aforementioned css
file to change in order to move the point of onset of a section, y
, further down on the website. I have tried changing a lot of parameters already, but I am unable to see which one controls the point I termed y
.
To make my problem a bit clearer, please consider the following two images:
This is what is supposed to happen:
This is what actually happens:
Thank you very much in advance!
...ANSWER
Answered 2020-Jun-24 at 15:11You could try some of the solutions listed in this StackOverflow question: Fixed page header overlaps in-page anchors.
The most common one appears to be adding padding-top
to the a
element equal to the height of the navigation bar.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install leap-day
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