Giter Club home page Giter Club logo

moving's Issues

CSS doesn't work when using theme via gem

Following the installation instructions in the Readme at "Add Moving to an Existing Blog", the CSS doesn't work:

image

I'm not sure if this is a documentation bug or a packaging bug. A workaround is:

  • make sure gem "sassc" is in your gemfile
  • create a file at project_root/assets/css/main.scss with this content:
---
---

@import "moving";

Social icons don't show up on chrome

I'm on chrome and I've setup a website on github pages.

For some reason, the social icons (github, linkedin, etc) don't show up below my name:

Screenshot 2020-01-29 at 12 08 33

But it does show up on Safari. Is there a specific configuration setting I'm missing?

Post List Wrapping

The Post List css doesn't wrap correctly.

image

The following is hacky but it shows how it can be fixed via flex (similar to YinYang theme):

/* home: post list */
.post-list ul {
	margin-left: 0;
}
.post-list ul li {
	display: flex;
}
.post-meta {
	min-width: 80px;
	font-size: 21.6px;
}

Double <head> tag and title mistake

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:

ES6 Syntax Higlighting is broken

ES6 breaks syntax highlighting

```js
// this is a comment and below is valid JS ES6
app.listen(3000, () => { console.log(`Listening on ${port}`));
```

Output:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.