Git Product home page Git Product logo

paper's Introduction

banner A B A A

I am crazy about Generative Art & Graphic Design & Math Visualization & Audio Viz.

Currently, working on Text Engine.

paper's People

Contributors

anig1scur avatar channg avatar glazec avatar random-yang avatar tonyzyt2000 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

paper's Issues

作者你好,为啥我安装 stylus 和 pug 转换工具报错了

npm WARN deprecated [email protected]: hexo-renderer-jade has been deprecated. Please install hexo-renderer-pug and rename all *.jade files to *.pug.
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 89 packages, and audited 329 packages in 9s

27 packages are looking for funding
run npm fund for details

7 vulnerabilities (1 low, 2 high, 4 critical)

To address all issues, run:
npm audit fix

Run npm audit for details.

如何开启评论功能?

在comments-script.pug里修改为自己的appId和appKey后,不起作用,是还有哪里需要设置嘛,请问大佬如何配置才能正确开启呢?

代码高亮没有正常工作

代码高亮我反正是用了不好使。我也没具体排查问题,就简单粗暴的改了下如下。直接定义了pre里面各种高亮的颜色和代码(我不推荐这么做)。

希望修一下。

还有就是出格了也没有滚动条,这也是问题。

image

highlight-background = #2d2d2d
highlight-current-line = #393939
highlight-selection = #515151
highlight-foreground = #cccccc
highlight-comment = #999999
highlight-red = #f2777a
highlight-orange = #f99157
highlight-yellow = #ffcc66
highlight-green = #99cc99
highlight-aqua = #66cccc
highlight-blue = #6699cc
highlight-purple = #cc99cc

pre
  -webkit-text-size-adjust: none
  margin-bottom 0
  .comment
  .title
    color: highlight-comment
  .variable
  .attribute
  .tag
  .regexp
  .ruby .constant
  .xml .tag .title
  .xml .pi
  .xml .doctype
  .html .doctype
  .css .id
  .css .class
  .css .pseudo
    color: highlight-red
  .number
  .preprocessor
  .built_in
  .literal
  .params
  .constant
    color: highlight-orange
  .class
  .ruby .class .title
  .css .rules .attribute
    color: highlight-green
  .string
  .value
  .inheritance
  .header
  .ruby .symbol
  .xml .cdata
    color: highlight-green
  .css .hexcolor
    color: highlight-aqua
  .function
  .python .decorator
  .python .title
  .ruby .function .title
  .ruby .title .keyword
  .perl .sub
  .javascript .title
  .coffeescript .title
    color: highlight-blue
  .keyword
  .javascript .function
    color: highlight-purple

浏览器tab页面的头像

你好 非常喜欢这个主题 想请教浏览器tab页面那个favicon.ico去哪里修改
我修改了themes\paper\source\favicon.ico没有生效 是不是有其他的方法

Code render scrolling issue

Screenshot from 2020-04-03 22-06-29
When the code block is long, the user is unable to scroll sideways in the resultant render.
Issue persists on both Firefox and Chrome.
Any idea?

无法使用

extends ./includes/layout.pug

block content
  .home-view
    include includes/main.pug

评论无法正常使用

我按照要求配置好主题后,评论是出来了,可是点提交没反应,是因为在手机移动端的缘故吗?

这个是我的博客,不信的话可以尝试一下。

https://qarks.top

黑天方式很有问题 会造成后续加载的图片节点无法正常显示

你那个黑天模式反转图片颜色的函数,只能影响静态文件的网页图片元素,给他们加滤镜,后加载的就加不上了,然后全局反色后,就不对了。

我建议开启黑天模式时在全局css增加

img {filter: invert(100%)}

来确保避免这个问题

问题图片示例

image


你这个黑天模式很偷懒,希望完善成正经的黑天模式,加载另一套颜色配置文件,而非反色。

字体有点问题 少加载了开源宋体

你的config里面少些了个字体
_config.yml

stylesheets_preload:
- https://cdn.bootcss.com/highlight.js/9.6.0/styles/github.min.css # for highlight
- https://fonts.googleapis.com/css?family=Abril+Fatface&display=swap # for font
- https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.css # for toc basic style

# scripts loaded in the end of the body
scripts_defer:
- https://cdn.bootcss.com/highlight.js/9.6.0/highlight.min.js # for highlight
- /js/paper.js # for basic script

你的开源宋体没写进来

highlight参数添加后报错

FATAL duplicated mapping key at line 94, column -157:
    highlight:
    ^
YAMLException: duplicated mapping key at line 94, column -157:
    highlight:
    ^
    at generateError (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:167:10)
    at throwError (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:173:9)
    at storeMappingPair (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:335:7)
    at readBlockMapping (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:1098:9)
    at composeNode (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:1359:12)
    at readDocument (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:1519:3)
    at loadDocuments (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:1575:5)
    at Object.load (/Users/xuezhiwen/blog/node_modules/js-yaml/lib/js-yaml/loader.js:1596:19)
    at Hexo.yamlHelper (/Users/xuezhiwen/blog/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15)
    at Hexo.tryCatcher (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/method.js:15:34)
    at /Users/xuezhiwen/blog/node_modules/hexo/lib/hexo/render.js:60:20
    at tryCatcher (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/xuezhiwen/blog/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:439:21)

无法更改主题色

您好!感谢您做出这么好看的主题,简洁而又有点书卷气,我很喜欢。但是在yml文件中更改main_color时,无论如何更改都不影响渲染出的网页的主题色。想请教一下,应如何配置?

关于客制化

你好,我想在侧边栏里新增一个about me的超链接,应该修改主题文件源代码的哪一部分?

Translation

Is it possible to have a readme in english please?

关于移动端布局出错

我按照issue #34 里的方法创建了About Me界面,在桌面端显示正常,而在移动端布局就变乱了,详情见下图。
image
想问下这种情况该怎么解决,感谢。/cc @random-yang

希望增加字体设置项

是否有办法在设置_config中增添字体设置,以便为不同格式的文本(标题、加粗、斜体、代码、正文)分别设置字体或字体类型(衬线、无衬线、等宽…)?

封面图片

作者好!谢谢您的主题!
我看到您的博客有一篇文章是有封面图片的。请问如何添加封面图片呢?

hexo new page 不起作用

谢谢您做的主题,很漂亮。

我新建页面,可以访问,但是主体内容没有渲染出来。

返回顶部与原生搜索

感谢大佬制作的主题。
请问是否可以为主题添加返回顶部按钮,以及支持hexo的其他某些主题中可以看到的不借助外部搜索引擎实现的简单搜索功能。
非常感谢。

一款非常棒的主题!非常感谢!

在网上找了很久 Hexo 的主题,都是千篇一律花里胡哨的,看到 paper 的时候瞬间就被惊到了,出淤泥而不染的即视感,希望作者可以继续维护更新(比如美化一下Tags),继续保持响应迅速、简洁。

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.