huangyz0918 / moving Goto Github PK
View Code? Open in Web Editor NEWA clean and minimalist theme for Jekyll.
Home Page: http://huangyz.name/moving
License: MIT License
A clean and minimalist theme for Jekyll.
Home Page: http://huangyz.name/moving
License: MIT License
AT
I noticed that when I run a jekyll serve
and navigate to a post I see the following error in my console:
ERROR '../favicon.ico' not found
Which is why the favicon doesn't show up on your posts. For example http://huangyz.name/moving/misc/2019/08/24/love-xinhai.html
Perhaps this is intentional?
AT
AT
Including
Following the installation instructions in the Readme at "Add Moving to an Existing Blog", the CSS doesn't work:
I'm not sure if this is a documentation bug or a packaging bug. A workaround is:
gem "sassc"
is in your gemfileproject_root/assets/css/main.scss
with this content:---
---
@import "moving";
AT
Something like demo
.
When I run jekyll serve
locally, code highlighting has color. After changing theme: moving
to remote_theme: huangyz0918/moving
and publishing to GitHub pages, the code syntax no longer has color.
AT
AT
I am a novice in this field.
What did I do wrong?
Locally, it's OK.
AT
AT
Looking at the source code of the generated site I found there're two head sections.
I solved the problem by deleting
<head>
<title>{{ site.author }}</title>
</head>
from the about.html, home.html and post.html files in the _layouts directory.
The right code should be written in /_includes/head.html
NOTE: I'm new to both GitHub and Jekyll and I didn't studied the Jekyll templating structure yet, however I noticed the shortcode {{ site.author }}
actually shows the page title when in the wrong position (when there's the double head tag), but the same snippet (<title>{{ site.author }}</title>
) in the right position (so when it's in the head.html file) shows the author name.
That's strange because there's not another title tag that overwrites it.
Ideas?
By the way I solved by changing the snippet from the one before to this one: <title>{{ page.title }}</title>
(I tried site.title
but then I realized I wouldn't print the page title:sweat_smile:)
P.S: I'm sorry if I mistaken or missed anything (in case please let me know) but, as said, I'm new to GitHub and I've no experience with (that's even the reason I don't try to pull the solution):innocent:
P.P.S: Thanks for this theme. It's pretty simple but amazing, for sure for a beginner who wants to learn and customize it:pray:
At
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.