Code Monkey home page Code Monkey logo

hexo-theme-anatole's People

Contributors

ben02 avatar ch3rub1m avatar chenzhiwei avatar eduartexd avatar otaviohenrique avatar tanwenhai 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-anatole's Issues

关于 about 和 link 页

在哪建立这两个页面,是生成html 文件还是 跟归档一样,建立两个这样的目录

没有TOC的支持么?

看到样式表里有关于toc的样式,但是 jade里面没有生成toc的部分。请问后续是否会加上。

没有生成正确的页面

extends partial/layout block content .autopagerize_page_element: .content - page.posts.each(function (item) { include mixins +make_post(item, false) - }) include mixins +make_pager(__('prev'), __('next'))

主题改成了 anotole 并且添加了 wiki 里说的几个配置,然后主页显示这个,不知道是怎么回事

找不到文件ds-embed.css

你好,我把hexo 默认的主题改为anatole后, 发现有个css文件报404错误,我看了themes下的css文件夹,也没有这个文件:ds-embed.css
hexo 原来的默认的主题是不会要加载这个文件的。

关于去除 share btn 的提醒

给各位像我一样的智障提个醒,如果需要去除 Evernote、weibo、Twitter 的分享按钮,只需要删除 theme\anatole\layout\post.pug 文件 第16 - 22 行 即可

安装预览(hexo server)时遇到问题

我安装教程安装主题,但是我在预览(hexo server)时遇到以下的问题:
extends partial/layout block content .autopagerize_page_element: .content - page.posts.each(function (item) { include mixins +make_post(item, false) - }) include mixins +make_pager(__('prev'), __('next'))

网页显示这个而不是更换好的主题,不知道我那步出错了?
我的默认主题加载正常,看到您的主题很喜欢,步骤:
安装主题git clone ~~~themes/anatole
更改_config.yml文件,中themes到anatole
hexo clean;hexo generate;hexo server,后来就显示上面的问题。

demo

is there any live demo available?

It is a recommend Markdown edit for Hexo !

If you used Hexo, HexoEditor will be your choice !

Language: 🇺🇸 🇨🇳 🇷🇺

This is markdown editor for Hexo.

Built with Electron.

Inherit Moeditor, I want to fix it appropriate to Hexo Blog!

Features

  • HexoEditor
    • Hexo Post Preview same as in Browser
    • Hexo Tag/Filter/Renderer support
    • Custom tag support
    • Use Hexo _config.yml support
      • highlight setting
      • theme tag support
    • --------- v1.1.8 (2017-12-29) ---------
    • Quick New Post in hexo source
    • Quick Modify File Name (In Hexo Post Edit)
    • Shortcut Support
    • Editor Line number Show/Hide
    • Auto Show/Hide Scroll
    • Scorll Together/None
  • HexoEditor (Inherit Moeditor)
    • GitHub Flavored Markdown
    • TeX math expressions
    • UML diagrams
    • Code highlight in editor
    • Read/Write/Preview mode
    • Custom font / line height / font size
    • Custom themes
    • Code highlight themes (powered by highlight.js)
    • Auto reload
    • Localization
    • Focus mode

I want to add the theme to default theme settings and need your help !

安装必要配置出错

安装呢必要配置出错,jade改名字, 装了改名字之后的版本,但是并不能展示页面

how to add love.js

点击页面出现爱心效果。
love.js 文件如下:

!function(e,t,a){function r(){for(var e=0;e<n.length;e++)n[e].alpha<=0?(t.body.removeChild(n[e].el),n.splice(e,1)):(n[e].y--,n[e].scale+=.004,n[e].alpha-=.013,n[e].el.style.cssText="left:"+n[e].x+"px;top:"+n[e].y+"px;opacity:"+n[e].alpha+";transform:scale("+n[e].scale+","+n[e].scale+") rotate(45deg);background:"+n[e].color+";z-index:99999");requestAnimationFrame(r)}var n=[];e.requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},function(e){var a=t.createElement("style");a.type="text/css";try{a.appendChild(t.createTextNode(e))}catch(t){a.styleSheet.cssText=e}t.getElementsByTagName("head")[0].appendChild(a)}(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),function(){var a="function"==typeof e.onclick&&e.onclick;e.onclick=function(e){a&&a(),function(e){var a=t.createElement("div");a.className="heart",n.push({el:a,x:e.clientX-5,y:e.clientY-5,scale:1,alpha:1,color:"rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"}),t.body.appendChild(a)}(e)}}(),r()}(window,document);

can`t link to detail page

Unhandled rejection TypeError: /Users/jerry/Develop/Nodejs/qiuxiaochao.com.text/themes/anatole/layout/partial/comments.jade:57
55| })();
56|
> 57| if theme.valine.enable == true
58| a#comments
59| #vcomments(style="margin:0 30px;")
60| script(src='//cdn1.lncld.net/static/js/3.0.4/av-min.js')

Cannot read property 'enable' of undefined

add a tab in file (nav.yml )

增加一条if判断就行了,然后在/anatole/languages/zh-cn.yml中增加词条 Categories: 分类,不过我也遇到一个问题,tab页选中后无样式类active,导致样式与其他不符,求助作者 @Ben02

image
image

粘上我的代码。

.page-top.animated.fadeInDown
  .nav
    li
      if is_home()
        a.current(href="/")= __('Home')					
      else
        a(href="/")= __('Home')	
    li
      if is_current('Categories')
        a.current(href="/categories")= __('Categories')					
      else
        a(href="/categories")= __('Categories')	
    li
      if is_archive()
        a.current(href="/archives")= __('Archive')
      else
        a(href="/archives")= __('Archive')
    li
      if is_current('about')
        a.current(href="/about")= __('About')			
      else
        a(href="/about")= __('About')	
  .information
    .back_btn
      li
        if is_post()
          a.fa.fa-chevron-left(onclick="window.history.go(-1)") 
        else
          a.fa.fa-chevron-left(onclick="window.history.go(-1)",style="display:none;") 
    .avatar
      img(src=theme.avatar)

Originally posted by @nyz123 in #51 (comment)

关于 about 和 link 页

怎么生成这两个页面啊,用hexo new page 生成后它的默认布局怎么更改? 刚接触 hexo,求指点。

macOs无法安装该主题

扩展部分/布局块内容.autopagerize_page_element:.content - page.posts.each(function(item){include mixins + make_post(item,false) - })include mixins + make_pager(('prev'),('下一个'))

诚邀合作事宜

很喜欢你博客的风格,可否为Cabloy-CMS开发一套(免费/付费)主题,然后发布到Cabloy商店里面?

CabloyJS:是一款顶级NodeJS全栈业务开发框架, 基于KoaJS + EggJS + VueJS + Framework7
Cabloy-CMS:是基于CabloyJS全栈业务开发框架开发的动静结合的CMS,可以快速构建企业网站、博客、社区、商城等Web应用
Cabloy商店:包括品类广泛的各类模块,满足不同场景的开发需求

CabloyJS介绍:https://cabloy.com/zh-cn/articles/introduce.html
Cabloy-CMS介绍:https://cabloy.com/zh-cn/articles/cms-introduce.html

Cabloy商店运营模式:https://cabloy.com/zh-cn/articles/store.html

item.categories.sort is not a function

TypeError: /Users/Awhisper/Desktop/Hexo/themes/anatole/layout/mixins.pug:24
22| if item.tags
23| i.fa.fa-tag

24| - item.categories.sort('posts').each(function(item) {
25| a.tag(href=config.root + item.path, title= item.name)= item.name + " "
26| - });
27| - item.tags.sort('posts').each(function(item) {

item.categories.sort is not a function
at Object.pug_interp [as make_post] (eval at wrap (/Users/Awhisper/Desktop/Hexo/node_modules/pug-runtime/wrap.js:6:10), :314:17)
at eval (eval at wrap (/Users/Awhisper/Desktop/Hexo/node_modules/pug-runtime/wrap.js:6:10), :429:24)
at template (eval at wrap (/Users/Awhisper/Desktop/Hexo/node_modules/pug-runtime/wrap.js:6:10), :806:183)
at Theme._View.View._compiled.locals [as _compiled] (/Users/Awhisper/Desktop/Hexo/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/Users/Awhisper/Desktop/Hexo/node_modules/hexo/lib/theme/view.js:29:15)
at route.set (/Users/Awhisper/Desktop/Hexo/node_modules/hexo/lib/hexo/index.js:386:29)
at tryCatcher (/Users/Awhisper/Desktop/Hexo/node_modules/bluebird/js/release/util.js:16:23)
at /Users/Awhisper/Desktop/Hexo/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/Users/Awhisper/Desktop/Hexo/node_modules/hexo/lib/hexo/router.js:134:3)
at RouteStream.Readable.read (stream_readable.js:442:10)
at resume
(_stream_readable.js:822:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

您好,hexo g 的时候,我遇到了这个错误,注释掉pug文件中的 tag 与 category可以正常使用,但是文章的标签无法正确显示,

我的版本是 node 8.11.1 用的anatole是稳定版,

奇怪的是几周前是正常的,没遇到类似的问题,因此我个人主页线上是正常的,只是现在冲新hexo g 的时候,无法正常生成了

您好,请问如何将百度的自动推送合并进主题呢?

请见谅我浅薄的代码基础,经过几次尝试均失败了
请问,如何将百度的自动推送代码加入进主题呢?
(function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();
还望解答,谢谢!

Is jquery actually used?

I'm not really seeing any purpose for including jquery, jquery-migrate, or jquery.appear.

Are these just a leftover or something?

另外一个小问题,好像 desc 没作用啊

我尝试新建一个post,然后如下

---
title: 匆匆一年
date: 2017-02-03 18:34:44
tags: 年度总结
desc: 匆匆一年,依然没有大富大贵,依然没有名扬四海。所幸,还有点所得所感,还有一包新鲜的腊肠,还有人陪着一个死胖子走在减肥的不归路上。
---

在首页的描述好像没有正确截取,还是显示的正文的描述,这个是什么原因呢?

使用的 hexo

➜  ~ hexo --version
hexo-cli: 1.0.2
os: Darwin 15.5.0 darwin x64
http_parser: 2.7.0
node: 6.5.0
v8: 5.1.281.81
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2h

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.