V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  chuhemiao  ›  全部回复第 70 页 / 共 72 页
回复总数  1429
1 ... 62  63  64  65  66  67  68  69  70  71 ... 72  
@Tiande 主题配置文件
##### Menu
menu:
Home: /
Archives: /archives
About: /about
Mylife: /Mylife
## you can create `tags` and `categories` folders in `../source`.
## And create a `index.md` file in each of them.
## set `front-matter`as
## layout: tags (or categories)
## title: tags (or categories)
## ---

#### Widgets
widgets:
- category
- tag
- rss
- links
## provide six widgets:category,tag,rss,archive,tagcloud,links.
## modify links in `/layout/_widget/links.ejs`.

#### RSS
rss: /atom.xml ## RSS address.
#sitemap
sitemap:
path: /sitemap.xml
#baidusitemap
baidusitemap:
path: /baidusitemap.xml
#root
root: /
#### Image
imglogo:
enable: true ## display image logo true/false.
src: '//source.shengxuezixun.com/images%2Flogo.png' ## `.svg` and `.png` are recommended,please put image into the theme folder `/pacman/source/img`.
favicon: img/favicon.ico ## size:32px*32px,`.ico` is recommended,please put image into the theme folder `/pacman/source/img`.
apple_icon: img/pacman.png ## size:114px*114px,please put image into the theme folder `/pacman/source/img`.

#### Author Avatar Picture
author_img_enable: true ## display author avatar picture
dataURI: false
## if the picture's format is dataURI please set the value to true,otherwise set the value to false.
## convert an image into base 64 data URIs http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/ .
author_img_data: ''
## paste the dataURI in ONE LINE and included it by ''.
author_img: /img/author.png ## size:220px*220px.
## if the picture's format is `.png` or `.jpg` instead of dataURI,you should set the `dataURI` value to false.

#### Font
ShowCustomFont: true
## you can change custom font in `variable.styl` and `font.styl` which in the theme folder `/pacman/source/css`.

#### Toc
toc:
article: true ## show contents in article.
aside: true ## show contents in aside.
## you can set both of the value to true of neither of them.
## if you don't want display contents in a specified post,you can modify `front-matter` and add `toc: false`.

#### Fancybox
fancybox: true
## if you use gallery post or want use fancybox please set the value to true.
## if you want use fancybox in ANY post please copy the file `fancybox.js`.
## in theme folder `/pacman/scripts` to your hexo blog folder `../scritps`.
#### Author information
author:
google_plus: ## eg:116338260303228776998 for https://plus.google.com/u/0/116338260303228776998
intro_line1: "I'm chuhe now I'm working gaeamobile" ## eg: "Hello ,I'm Larry Page in Google."
intro_line2: "Storage place on the past and the future" ## eg: "This is my blog,believe it or not."
weibo: 3292942135 ## e.g. 436062867 for http://weibo.com/436062867
twitter: ## e.g. yangjiansky for https://twitter.com/yangjiansky
github: chuhemiao ## e.g. A-limon for https://github.com/A-limon
facebook: ## e.g. yangjian for https://favebook.com/yangjian
tsina: ## e.g. 1664838973 Your weibo ID,It will be used in share button.
linkedin: ## e.g. in/jeffweiner08 for https://www.linkedin.com/in/jeffweiner08

#### Comment
duoshuo:
enable: true ## duoshuo.com
short_name: myoung ## duoshuo short name.

#### Share button
jiathis:
enable: false ## if you use jiathis as your share tool,the built-in share tool won't be display.
id: ## e.g. 1501277 your jiathis ID.
tsina: ## e.g. 1664838973 Your weibo id,It will be used in share button.

#### Analytics
google_analytics:
enable: true
id: UA-68661235-3 ## e.g. UA-1766729-8 your google analytics ID.
site: idiot6.com ## e.g. yangjian.me your google analytics site or set the value as auto.
## You MUST upgrade to Universal Analytics first!
## https://developers.google.com/analytics/devguides/collection/upgrade/?hl=zh_CN

#### Custom Search
google_cse:
enable: false
cx: ## e.g. 000561263943549425496:mrzrm0gr4kg your Custom Search ID
## https://www.google.com/cse/
## To enable the custom search You must create a "search" folder in '/source' and a "index.md" file
## set the 'front-matter' as
## layout: search
## title: search
## ---
@Tiande
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: 梦遥奇缘
subtitle: 想要,所以才去追寻--禾子
description: 梦遥奇缘,PHP,HTML,JS,Linux,YII,YAF,禾子,永远的呆,hexo,github,gitcafe,pacman,Laravel,CodeIgniter
author: 梦遥奇缘
language: zh-CN
timezone:

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://idiot6.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
#root
root: /
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:

# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
rss: /atom.xml #rss 地址 默认即可
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: pacman

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
- type: git
repo: https://github.com/chuhemiao/chuhemiao.github.io.git,master
- type: git
repo: https://gitcafe.com/chuhemiao/chuhemiao.git,gitcafe-pages
2016-01-21 11:58:26 +08:00
回复了 HypoChen 创建的主题 JavaScript 这十二行代码是如何让浏览器爆炸的?
好奇心害死了多少猫
2016-01-21 11:57:12 +08:00
回复了 evakiss 创建的主题 程序员 怎样让谷歌收录网站的站内搜索页面?
加上谷歌统计,只要内容不是 copy 是原创,麻溜的就收录了!谷歌比百度强多了
2016-01-21 11:55:57 +08:00
回复了 athanos 创建的主题 Android google play 中国版会怎么运作?和通用版怎样分工?
为了中国,单独搞了一个
@agate ![img caption](img url),{% fancybox img_url [img_thumbnail] [img_caption] %}我用的是第一种,这样的效果是单张图,怎样成轮播的形式显示
@agate 我用的是 pacman ,看文档说是支持的啊
@zhangxiaoman 已用过,还是感觉 pacman 比较简单点
@agate 是在 hexo 静态生成的,就是不知道那个要怎么用了,有说是在主题下的配置加上 fancybox: true,但这个加上还是没啥用
@Tiande 这个已经加了
@DualWield 就是轮播图,/hexo/themes/pacman/scripts/在这下面有个 fancybox.js ,然后就是 pacman/source/有一堆针对 fancy 的 js 和 css 样式,没发现其它页面有。
没有人遇到这个问题吗?纠结了半下午了,按照不如的说法是新建一篇图片类的文章,但是现在是文章出来,图只有一张显示了,并没有显示成轮播的形式,是还要设置其它的什么吗?求告知!!
2016-01-20 22:00:33 +08:00
回复了 taozimiao 创建的主题 程序员 妹子求问,怎么样能够高逼格把礼物送到程序员手里?
看网名,顺眼就送,反正都不认识!要不按网名的笔画来,随机来几个数字
2016-01-19 18:03:01 +08:00
回复了 ericwang0717 创建的主题 推广 送 10 本《第一本 Docker 书》能刷出存在感吗?——实现网
Docker 书好牛掰
@abelyao 确实,个人博客都是静态的也无所谓了,我怎么感觉那是用来装 x 的
楼上说了实话
2016-01-18 15:33:13 +08:00
回复了 sinux 创建的主题 程序员 你们的公司是否为你们提供正版 PS, IDE 等软件?
ddd
1 ... 62  63  64  65  66  67  68  69  70  71 ... 72  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5417 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms · UTC 07:38 · PVG 15:38 · LAX 00:38 · JFK 03:38
Developed with CodeLauncher
♥ Do have faith in what you're doing.