minicomp / ed Goto Github PK
View Code? Open in Web Editor NEWA Jekyll theme for minimal editions :book:
Home Page: https://minicomp.github.io/ed/
License: Other
A Jekyll theme for minimal editions :book:
Home Page: https://minicomp.github.io/ed/
License: Other
Hi guys, Is there a way to use it in Jekyll 4?
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.16)
Current Bundler version:
bundler (2.0.2)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
I am trying to enable writing LaTex on markdown using MathJax.
The steps to incorporate MathJax:
markdown:kramdown
in the _config.yml file.<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
to head.html
This should make me able to write LaTex code between double-dollar signs in Markdown files, but through Jekyll serve
, the content between double-dollar signs is ignored.
For example
---
layout: default
title: Test MathJax
author: YY
---
Before
$$
A + B = C_a
$$
After
Can anyone help? Thanks.
How to get MathJax working with the blog?
Hi, I want the posts to display in the same order as they were posted (chronologically), not alphabetically. How do I do that? e.g. https://kharshit.github.io/poems/
Line 21 in bed1af9
Removing sort: "url"
didn't help!
Hello, I have question. The hamburger nav menu isn't sticky like it is on desktop web browser.
Is there a way to do this in the theme?
Hi, the CSS is not working on my github pages using this theme. Please check at https://kharshit.github.io/poems/
Repo URL: https://github.com/kHarshit/poems
Ive followed the instructions on enabling jekyll-scholar, but on running jekyll serve
I get the following error:
CiteProc requires the `unicode_utils` or `unicode` Gem on Ruby 2.3
jekyll 3.0.5 | Error: undefined method `upcase' for module `CiteProc'
This looks like this is an issue with jekyll-scholar (actually CiteProc), see: inukshuk/citeproc-ruby#60, but it's unclear how to fix. Any help is appreciated.
My environment:
OS Mac 10.12.6
Ruby 2.3.6
Jekyll 3.0.5
Ed ca45b08 (i.e., latest commit in master)
The link to the Base16 colorscheme under *Themes inside of _ed.scss in _sass leads to a 404 page because its an old github link format.
Current : http://chriskempson.github.io/base16/#default.
Correct: https://github.com/chriskempson/base16
It would be nice if we have a toggle for dark mode
I get the following message when I install this theme.
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
I am trying to use Jekyll in my repository. But everytime I push the site is not built/served correctly and receive this email:
The page build completed successfully, but returned the following warning for the
gh-pages
branch:
You are attempting to use a Jekyll theme, "ed.", which is not supported by GitHub Pages. Please visit https://pages.github.com/themes/ for a list of supported themes. If you are using the "theme" configuration variable for something other than a Jekyll theme, we recommend you rename this variable throughout your site. For more information, see https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site/.
What is the issue?
Word on the street (@elotroalex ) has said that there's some kind of work afoot on updating ed., perhaps even with breaking, 2.0-level changes. I've talked to Alex a bit and looked over the state of the project as it is, and would like to suggest putting together a project here on GitHub for moving to 2.0. We can start w/ a feature list and add/edit as needed.
[ ] Modularize CSS / functionalize CSS / use modern CSS techniques (purgeCSS, postCSS, etc.)
[ ] Improve a11y by adding aria, sr layouts, etc.
[ ] Continue ensuring that ed. pages pass html validation.
[ ] Revisit JS usage, extract and modularize.
[ ] Simplify configuration, including favicon, etc.
[ ] Employ git hooks and tests for linkrot.
[ ] Provide one-click deployment to Netlify/Heroku.
[ ] Provide better demos other than ed-branded poems.
Tried the robust install. Everything went fine until $bundle install. The error is:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.16)
Current Bundler version:
bundler (2.0.2)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running gem install bundler
?
Could not find gem 'bundler (~> 1.16)' in any of the relevant sources:
the local ruby installation
Admittedly, I'm a novice in all this. Have gotten a few Jekyll sites up and running, but far from expert.
Any suggestions?
Thought you might be interested to know that, after chatting with the Hypothes.is folks and perusing this post on how Hypothes.is interacts with document metadata, I was able to "migrate" Hypothes.is annotations as I migrated my Ed instance to a new server.
I modified the _include/head.html
to include DC metadata using Dublin Core tags with name
attributes in addition to the Zotero-friendly property
attributes. I also included a few site wide entries in _config.yml
. As a result Hypothes.is associates annotations with a urn:x-dc:
string rather than the URL.
If it sounds useful to other users, happy to issue a pull request.
The Facebook JS SDK is loaded at
Lines 70 to 86 in c62010e
Line 36 in c62010e
Is it safe to remove it? Or could its inclusion be made conditional on having the config present in _config.yml?
I've been trying to change the textwidth of rendered Ed pages without success. The container classes are passed to the theme and seem a logical place to adjust but that doesn't seem to affect the displayed text width. Containers appear in the ed css file as:
/* Slideshow container */
.slideshow-container {
max-width: 1000;
position: relative;
margin: auto;
}
and
/*
.container {
/* max-width: 38rem; */
max-width: 38rem;
padding-left: 1rem;
padding-right: 1rem;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 38em) {
.container {
max-width: 32rem;
}
}
@media (min-width: 56em) {
.container {
max-width: 38rem;
}
}
thanks
Please ignore: I have resolved the following problems and I am closing this thread.
gem install bundler
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Done installing documentation for bundler after 2 seconds
1 gem installed
bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.16)
Current Bundler version:
bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (~> 1.16)' in any of the relevant sources:
the local ruby installation
Edit 1: My guess is that that theme has not been updated in a while and the last time it was updated, the latest bundler version was 1.16. So it would seem that the theme does not work with higher versions of bundler. What a shame.
Edit 2: I am getting the exact same error when using the longer, more robust protocol for installation. At this point, I am not sure if it's worth going through all this hassle. I can write simple static websites with just markdown and pandoc and deploy them in minutes.
I'm looking to change the image of favicon.ico but when I do, in staging the image is there but then when I close the bundle jekyll --livereload (terminate) and then reinstate the bundle jekyll --livereload. The favicon.ico erases with original favicon.ico ED.
Is it possible to have the favicon.ico permanently placed?
I deployed my website using the Ed theme and Github Pages, but it's not rendering correctly.
How do I add another section below "sample texts" which links to posts with a certain tag? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.