forked from RayeRen/acad-homepage.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
85 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
<h2 align="center"> | ||
<p> AcadHomepage:一个现代、响应式的个人学术主页</p> | ||
</h2> | ||
|
||
<div align="center"> | ||
|
||
[![](https://img.shields.io/github/stars/RayeRen/acad-homepage.github.io)](https://github.com/RayeRen/acad-homepage.github.io) | ||
[![](https://img.shields.io/github/forks/RayeRen/acad-homepage.github.io)](https://github.com/RayeRen/acad-homepage.github.io) | ||
[![](https://img.shields.io/github/issues/RayeRen/acad-homepage.github.io)](https://github.com/RayeRen/acad-homepage.github.io) | ||
[![](https://img.shields.io/github/license/RayeRen/acad-homepage.github.io)](https://github.com/RayeRen/acad-homepage.github.io/blob/main/LICENSE) | [English README](../README.md) | ||
|
||
</div> | ||
|
||
<p align="center"> | ||
<br> | ||
<img src="./screenshot.png" width="600"/> | ||
<br> | ||
</p> | ||
|
||
一些例子: | ||
- [样例页面](https://rayeren.github.io/acad-homepage.github.io/) | ||
- [作者的个人主页](https://rayeren.github.io/) | ||
|
||
## 主要特点 | ||
- **自动更新谷歌学术引用**: 借助谷歌学术爬虫和github action功能,本仓库可以自动更新作者的引用数和论文引用数。 | ||
- **支持谷歌Analytics**: 你可以通过简单的配置来实现使用谷歌Analytics跟踪网页的流量。 | ||
- **响应式的**: 此主页会针对不同的屏幕尺寸自动调整布局。 | ||
- **搜索引擎优化**: 搜索引擎优化 (SEO) 帮助搜索引擎轻松找到您在主页上发布的信息,然后将其与类似网站进行排名,并获得排名优势。 | ||
|
||
## Quick Start | ||
|
||
1. Fork本仓库到`USERNAME/USERNAME.github.io`,其中`USERNAME`是你的github用户名。 | ||
1. 配置谷歌学术引用爬虫: | ||
1. 在你的谷歌学术引用页面的url里找到你的谷歌学术ID:例如,在url https://scholar.google.com/citations?user=SCHOLAR_ID 中,`SCHOLAR_ID`部分即为你的谷歌学术ID。 | ||
1. 在github本仓库页面的`Settings -> Secrets -> Actions -> New repository secret`中,添加`GOOGLE_SCHOLAR_ID`变量:`name=GOOGLE_SCHOLAR_ID`、`value=SCHOLAR_ID`。 | ||
1. 在github本仓库页面的`Action`中,重启`Get Citation Data` action。本action将会谷歌学术引用的统计量数据`gs_data.json`到本仓库的`google-scholar-stats`分支中。 | ||
1. 使用 [favicon-generator](https://redketchup.io/favicon-generator)生成favicon(网页icon文件),并下载所有文件到`REPO/images`。 | ||
1. 修改主页配置文件[_config.yml](_config.yml): | ||
1. `title`: 主页标题 | ||
1. `description`: 主页的描述 | ||
1. `repository`: USER_NAME/REPO_NAME | ||
1. `google_analytics_id` (可选的): 谷歌Analytics ID | ||
1. SEO相关的键值 (可选的): 从搜索引擎的控制台里获得对应的ID (例如:Google, Bing and Baidu),然后粘贴到这里。 | ||
1. `author`: 主页作者信息,包括其他网页、Email、所在城市、大学等。 | ||
1. 更多的配置信息在注释中有详细描述。 | ||
1. 将你的主页内容添加到 [_pages/about.md](_pages/about.md). | ||
1. 你的主页将会被部署到`https://USERNAME.github.io`. | ||
|
||
## Debug Locally | ||
|
||
1. 使用`git clone`将本项目克隆到本地。 | ||
1. 安装Jekyll的构建环境,包括`Ruby`、`RubyGems`、`GCC`和`Make`。可参考[该教程](https://jekyllrb.com/docs/installation/#requirements)。 | ||
1. 运行 `bash run_server.sh` 来启动Jekyll实时重载服务器。 | ||
1. 在浏览器里打开 [http://127.0.0.1:4000](http://127.0.0.1:4000)。如果你修改了网页的源码,服务器会自动重新编译并刷新页面。 | ||
1. 当你修改完毕你的页面以后, 使用`git`命令,`commit`你的改动并`push`到你的github仓库中。 | ||
|
||
# Acknowledge | ||
|
||
- AcadHomepage incorporates Font Awesome, which is distributed under the terms of the SIL OFL 1.1 and MIT License. | ||
- AcadHomepage is influenced by the github repo (mmistakes/minimal-mistakes)[https://github.com/mmistakes/minimal-mistakes], which is distributed under the MIT License. | ||
- AcadHomepage is influenced by the github repo (academicpages/academicpages.github.io)[https://github.com/academicpages/academicpages.github.io], which is distributed under the MIT License. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.