Giter Site home page Giter Site logo

ibug / ustc-home-jekyll Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 13.0 8 KB

使用 Jekyll 和 GitHub Actions 快速在 home.ustc.edu.cn 上部署一个漂亮的个人主页

License: MIT License

Ruby 3.48% Shell 96.52%
ustc homepage jekyll lftp github-actions

ustc-home-jekyll's Introduction

USTC-home-jekyll

想要快速在 home.ustc.edu.cn 或者 staff.ustc.edu.cn 创建一个好看的主页?这个仓库就是你在找的资源!

如何使用

首先,Fork 这个仓库到你自己的账号下。

进入仓库的设置,Settings → Secrets,通过右上角的 New repository secret 按钮添加两个值:

名称 (Name) 内容 (Value)
EMAIL 你的科大邮箱,以 @mail.ustc.edu.cn@ustc.edu.cn 结尾
PASSWORD 你的邮箱密码,用来通过 FTP 传输你的主页

然后,在你 Fork 的仓库中编辑 _config.yml 文件,找到 baseurl: 这一行,把它的值改成 /~ 加上你的邮箱用户名部分。例如,如果你的邮箱是 [email protected],那么 baseurl: 后面就是 /~example。如果你的邮箱是以 @ustc.edu.cn 结尾的,那么你还应该把 url: 这一行改成 http://staff.ustc.edu.cn

点击下面绿色的 Commit changes 按钮,等待 2~3 分钟(第一次推送时间会比较长),你就可以在 http://home.ustc.edu.cn/~username 这里看到你的新主页了,就像这样

Preview

ustc-home-jekyll's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.