Comments (1)
基本解决,供其他有需要的人参考
衬线字体
可以分别在各个字体设置中改,但是太麻烦,可以直接在_sass
-_variables.scss
中把非衬线字体的后面都改为衬线字体,Georgia比较好看。
$serif: Georgia, serif;
中英文切换
可以再建一个完全一样的仓库叫zh-cn,改为中文内容,这样访问https://[name].github.io/zh-cn 就可以很跳转了,然后将原模板网页中左上角没用的”[Homepage]“改为中英文切换,在_includes
-masthead.html
中改。有几个坑
- 无法再fork,只能新建再设置
- 中文锚点不起作用,实在解决不了了,我在md中自定义了新锚点
- [Homepage]在移动端会隐藏,找到css取消隐藏
- 中英文切换会新建标签页,css中加self属性
- masthead.html中的navigation.yml url要加/zh-cn前缀(原模版中的顶栏导航跳转错误就是因为这里没加
/acad-homepage.github.io
前缀)
# main links links
main:
- title: "About Me"
url: "/acad-homepage.github.io/#about-me"
- title: "News"
url: "/acad-homepage.github.io/#-news"
- title: "Publications"
url: "/acad-homepage.github.io/#-publications"
- title: "Honors and Awards"
url: "/acad-homepage.github.io/#-honors-and-awards"
- title: "Educations"
url: "/acad-homepage.github.io/#-educations"
- title: "Invited Talks"
url: "/acad-homepage.github.io/#-invited-talks"
- title: "Internships"
url: "/acad-homepage.github.io/#-internships"
from acad-homepage.github.io.
Related Issues (20)
- 添加了docker编译环境,希望作者加进去。 HOT 2
- About google citations HOT 1
- 如何更改浏览器标签页图标 HOT 1
- 如何在 author_profile 中添加知乎主页链接图标 HOT 1
- Switch theme to dark mode HOT 1
- Why Get Citation Data Error? HOT 3
- How to add new page linked by the navigation bar HOT 1
- 加访问地图 HOT 3
- 关于本地调试环境配置
- Error HOT 3
- Can't build the page anymore HOT 3
- 网页图标怎么改? HOT 1
- How to change the font?
- Error of "Get Citation Data" workflow
- Anyway to add new sub-pages? HOT 4
- google site verification not working HOT 1
- 导航栏_data/navigation.yml配置之后,点击404 HOT 1
- how to add PDF HOT 1
- show_paper_citations does not work
- how to stop updating google citation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acad-homepage.github.io.