Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to add custom stylesheets #350

Open
ikouchiha47 opened this issue Nov 27, 2023 · 0 comments
Open

Question: How to add custom stylesheets #350

ikouchiha47 opened this issue Nov 27, 2023 · 0 comments

Comments

@ikouchiha47
Copy link

I wanted to make some changes, like a different code highlighting styles. I am using it like this.

gem 'rogue'
gem 'jekyll-theme-clean-blog'

I noticed that the project uses kramdown. I tried to create a _layouts/page.html , and adding a <link rel="stylesheet" src=".."/> . But that didn't help. I ended up doing it like this.

---
layout: post
title: "Awesome Blog"
subtitle: "awesome blog"
date: 2023-11-27 00:00:00
background: ''
---

<link href="/assets/css/monokai.css" rel="stylesheet"/>
<link href="/assets/css/overrides.css" rel="stylesheet"/>

But yeah I could make a partial and that way include in other _posts , but is there any simpler way?

ikouchiha47 added a commit to ikouchiha47/startbootstrap-clean-blog-jekyll that referenced this issue Nov 29, 2023
feat: adds a way to add more styles to the page for jekyll plugin install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant