Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
it-ebooks-blog
提交
9b53dd30
I
it-ebooks-blog
项目概览
OpenDocCN
/
it-ebooks-blog
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
it-ebooks-blog
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9b53dd30
编写于
2月 04, 2016
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix head
上级
30a59a1e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
31 addition
and
17 deletion
+31
-17
_config.yml
_config.yml
+5
-2
themes/light/layout/_partial/head.ejs
themes/light/layout/_partial/head.ejs
+26
-15
themes/light/source/css/images/favicon.ico
themes/light/source/css/images/favicon.ico
+0
-0
未找到文件。
_config.yml
浏览文件 @
9b53dd30
...
...
@@ -4,11 +4,14 @@
# Site
title
:
计算机电子书
subtitle
:
专注于计算机开放电子书
description
:
subtitle
:
description
:
龙哥盟·计算机电子书 - 百余种计算机电子书精选
keywords
:
计算机,编程,电子书,pdf,epub,java,c++,php,python,javascript
author
:
Flygon
email
:
language
:
zh-CN
google_site_verification
:
NCXVSqxqB-os803-VFMtIEd1SUNJVOIjctCfNYUwD0w
icon
:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
...
...
themes/light/layout/_partial/head.ejs
浏览文件 @
9b53dd30
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"google-site-verification"
content=
"NCXVSqxqB-os803-VFMtIEd1SUNJVOIjctCfNYUwD0w"
/>
<meta
name=
"description"
content=
"龙哥盟·计算机电子书 - 百余种计算机电子书精选"
/>
<meta
name=
"keywords"
content=
"计算机,编程,电子书,pdf,epub,java,c++,php,python,javascript"
/>
<meta
charset=
"utf-8"
/>
<
%
var
title =
[];
if
(
page.current
>
1) title.push(__('page', page.current));
...
...
@@ -18,29 +15,43 @@
title.push(config.title);
%>
<title><
%=
title.join
('
|
')
%
></title>
<
%
if
(
config.author
){
%
><meta
name=
"author"
content=
"<%= config.author %>"
><
%
}
%
>
<
%
if
(
config.author
){
%
><meta
name=
"author"
content=
"<%= config.author %>"
/><
%
}
%
>
<
%
if
(
page.description
){
%
>
<meta
name=
"description"
content=
"<%= page.description %>"
>
<meta
name=
"description"
content=
"<%= page.description %>"
/
>
<
%
}
else
if
(
config.description
){
%
>
<meta
name=
"description"
content=
"<%= config.description %>"
>
<meta
name=
"description"
content=
"<%= config.description %>"
/
>
<
%
}
else
if
(
page.excerpt
){
%
>
<meta
name=
"description"
content=
"<%= strip_html(page.excerpt).replace(/^\s*/, '').replace(/\s*$/, '') %>"
>
<meta
name=
"description"
content=
"<%= strip_html(page.excerpt).replace(/^\s*/, '').replace(/\s*$/, '') %>"
/
>
<
%
}
else
if
(
page.content
){
%
>
<meta
name=
"description"
content=
"<%= strip_html(page.content).replace(/^\s*/, '').replace(/\s*$/, '').substring(0, 150) %>"
>
<meta
name=
"description"
content=
"<%= strip_html(page.content).replace(/^\s*/, '').replace(/\s*$/, '').substring(0, 150) %>"
/>
<
%
}
%
>
<
%
if
(
page.keywords
){
%
>
<meta
name=
"keywords"
content=
"<%= page.keywords %>"
/>
<
%
}
else
if
(
config.keywords
)
{
%
>
<meta
name=
"keywords"
content=
"<%= config.keywords %>"
/>
<
%
}
%
>
<
%
if
(
page.keywords
){
%
><meta
name=
"keywords"
content=
"<%= page.keywords %>"
><
%
}
%
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
/
>
<
%
if
(
page.title
){
%
><meta
property=
"og:title"
content=
"<%= page.title %>"
/><
%
}
%
>
<meta
property=
"og:site_name"
content=
"<%= config.title %>"
/>
<
%
if
(
page.title
){
%
><meta
property=
"og:title"
content=
"<%= page.title %>"
/><
%
}
%
>
<meta
property=
"og:site_name"
content=
"<%= config.title %>"
/>
<
%
if
(
config.google_site_verification
){
%
><meta
name=
"google-site-verification"
content=
"<%= config.google_site_verification%>"
/><
%
}
%
>
<
%
if
(
page.cover
)
{
%
>
<meta
property=
"og:image"
content=
"<%= page.cover %>"
/>
<
%
}
else
{
%
>
<meta
property=
"og:image"
content=
"<%= config.cover %>"
/>
<meta
property=
"og:image"
content=
"<%= config.cover %>"
/>
<
%
}
%
>
<link
href=
"http://7u2hdm.com1.z0.glb.clouddn.com/favicon.ico"
rel=
"icon"
>
<
%
if
(
config.icon
)
{
%
>
<link
href=
"<%= config.icon %>"
rel=
"icon"
/>
<
%
}
else
{
%
>
<link
href=
"<%- config.root %>css/images/favicon.ico"
rel=
"icon"
/>
<
%
}
%
>
<link
rel=
"alternate"
href=
"<% if (theme.rss){ %><%- theme.rss %><% } else { %><%- config.root %>atom.xml<% } %>"
title=
"<%= config.title %>"
type=
"application/atom+xml"
>
<link
rel=
"stylesheet"
href=
"<%- config.root %>css/style.css"
media=
"screen"
type=
"text/css"
>
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
...
...
themes/light/source/css/images/favicon.ico
0 → 100644
浏览文件 @
9b53dd30
1.1 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录