GithubHelp home page GithubHelp logo

flute / skywalker Goto Github PK

View Code? Open in Web Editor NEW
81.0 3.0 19.0 7.89 MB

A material design theme for ghost blog 🙈🌈🍇

Home Page: https://www.ldsun.com

CSS 58.52% JavaScript 13.07% HTML 28.42%
ghost ghost-blog ghost-theme ghost-themes material-design material-theme

skywalker's Introduction

skywalker

一款material design风格的响应式简约ghost博客主题

demo

安装使用

  1. 下载主题压缩包,上传至ghost博客的content/themes/skywalker中,解压,重启ghost系统,然后在后台设置启用主题即可。
  2. 也可以在ghost博客的content/themes/skywalker目录下,执行git clone [email protected]:flute/skywalker.git,然后重启ghost系统,然后在后台设置启用主题即可。
  3. about、archives页面需在后台新建两个page,设置页面URL,并在Design->Navigation中按照“显示名称-链接”添加两个页面

主题说明

  • 适配移动端和pc端
  • 随机获取bing图库图片作为背景图 https://github.com/flute/img
  • 新增ghost博客文章归档页面
  • 使用disqus作为评论插件,可自行替换 使用畅言作为评论系统,修改样式屏蔽广告。
  • 主题采用flexbox布局
  • markdown样式与github相同,代码高亮使用highlight.js

Screenshoot

  • mobile:

  • pc

mobilemobile mobilemobile

持续更新中,欢迎使用+star/fork。。。

skywalker's People

Contributors

flute avatar itbdw avatar lu-lucifer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

skywalker's Issues

在电脑浏览器中无法正常显示 /tag/

首先这主题很好看
具体问题电脑打开 http://blog.itbdw.com/tag/devops/ ,直接显示的是首页

知道了,需要加 #open ,这个倒是可以配置,但是文章中的tag点开之后,却无法展示相关文章了,因为没有 #open ,感觉这个实现逻辑有问题。只对首页生效,已经提交 pr #12

而且在文章页也没有展示出当前文章的tag

使用主题的时候报错,希望能修复一下

Activation failed
Fatal Errors
(Must-fix to activate theme)

The {{image}} helper was replaced with the {{img_url}} helper. Please read the details..
Replace the {{@blog.cover}} helper with {{@blog.cover_image}}
Replace the {{#if image}} helper with {{#if feature_image}}, or {{#if profile_image}}

ghost版本是1.21.5

按照提示改了,重启后,样式都没有了

Fatal Errors & Errors

这个主题是我见过的最用心的
但是我在最新版本上的1.8.7上使用时出现了几个Errors,希望作者能fix一下

Activation failed
Fatal Errors
(Must-fix to activate theme)
Replace the {{image}} helper with {{img_url feature_image}} or {{img_url profile_image}}
The {{image}} helper was replaced with {{img_url}}.
Depending on the context of the {{img_url}} helper you would need to use e. g. 

{{#post}}
    {{img_url feature_image}}
{{/post}}

to render the feature image of the blog post.
Find more information about the {{img_url}} helper here and read more about Ghost's usage of contexts here.
Affected files:
page-about.hbs: Please remove or replace {{image}} from this template
page.hbs: Please remove or replace {{image}} from this template
Replace the {{@blog.cover}} helper with {{@blog.cover_image}}
Replace the {{#if image}} helper with {{#if feature_image}}, or {{#if profile_image}}
Errors
(Very recommended to fix, functionality could be restricted)
Replace .page with the .page-template css class
 package.json property "author.email" is required
 package.json property "author.email" must be valid
 package.json property "name" must be lowercase

文章页无法获取图库图片

环境:

  • centos:7.4
  • nginx:1.14

问题:无法获取图片,报No 'Access-Control-Allow-Origin' header is present on the requested resource错误。已经在nginx的中添加如下配置:

location / {
     add_header Access-Control-Allow-Origin *;
     ...
}

能解答一下么,谢谢!

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.