GithubHelp home page GithubHelp logo

techmovie / hexo-theme-instapaper Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 9.0 111 KB

仿 instapaper 的一款极简 Hexo 主题

License: MIT License

JavaScript 11.47% Shell 0.70% Pug 18.93% TypeScript 7.34% SCSS 61.57%
hexo hexo-theme hexoblog

hexo-theme-instapaper's Introduction

Hi there 👋

📫 How to reach me: Telegram

Rick Lee's GitHub stats

hexo-theme-instapaper's People

Contributors

dependabot[bot] avatar liaocp666 avatar techmovie 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

Watchers

 avatar  avatar

hexo-theme-instapaper's Issues

主题加载失败

按照readme一步步来的,但是最后不能成功显示,浏览器只显示这些:
doctype html(lang=config.language) include ./partial/header-base.pug body include ./partial/header.pug main section.main-content !{ body } include ./partial/footer.pug script(src=url_for('scripts/dark.js')) if is_post() script(src=url_for('scripts/post.js'))

说明文档

作者大大,您好,能出一个详细的说明文档吗?小白表示很多东西弄不懂,比如封面图如何添加,菜单能否自定义等等

设置好之后页面打不开了

页面显示:

doctype html(lang=config.language) include ./partial/header-base.pug body include ./partial/header.pug main section.main-content !{ body } include ./partial/footer.pug script(src=url_for('scripts/dark.js')) if is_post() script(src=url_for('scripts/post.js'))

Windows系统显示横向滚动条

image

如上图所示,Windows系统会显示横向滚动条。

我找了下原因:header.scss 代码中的 width: 100vw 计算了滚动条在内的宽度。

可以使用下面其中一种方式解决:

  1. width: calc(100vw - (100vw - 100%));
  2. width: 100%;

hexo g报错

在使用hexo g生成文章的时候报错了,错误信息如下:
ERROR TypeError: /Users/daryl/code/workspace/wloverine.github.io/themes/instapaper/layout/post.pug:7
5| span #{ time(page.date, 'YYYY-MM-DD HH:mm:ss') }
6| span.tags

7| each tag in page.tags.data
8| a(href=url_for(tag.path)) ##{ tag.name }
9| if page.featured_image
10| .feature-img

Cannot read property 'data' of undefined

请问这是什么原因,要怎么解决呢。

虽然最后还是能正常deploy,但还是希望解决下,谢谢!

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.