/Spico197.github.io

ZHU Tong's homepage.

Primary LanguageJavaScriptMIT LicenseMIT

Tong's Academic Homepage

👋 Hi there, this is my academic homepage built on vue.js, marked, citation-js and bolt.css.

🌴 Clone Template

This repo is licensed under MIT, so feel free to clone or fork it.

To use this as a template, you may want to:

  1. Fork this repository to your namespace.
  2. Rename the repo to <your github username>.github.io
  3. Remove analytics in src/index.html
  4. Remove files in public/files/
  5. Change favicon in public/favicon-32x32.png
  6. Change settings in src/settings.json (for getting latest update datetime)
  7. Change footer in src/components/Footer.vue
  8. Change all the contents in src/content/
  9. Setup node.js for development (nvm is recommended to manage different versions of node.js)
  10. Clone your repo to your computer
  11. Change directory to the cloned repo, type npm install in the terminal to install all necessary dependencies
  12. Type npm run dev to test in your localhost
  13. You may want to change branches in .github/workflows/deploy.yml, and change repo settings/Code and automation/Pages/Build and deployment/Source to Github Actions

🚀 Quick Start

  • Project Setup
npm install
  • Compile and Hot-Reload for Development
npm run dev
  • Compile and Minify for Production
npm run build

📝 Memorandum

  1. Favicon is generated via favicon.io, you should put the generated one into /public folder
  2. Change <title> content in index.html
  3. Search icons from font-awesome and academicons
  4. All info are stored in ./src/content/*.json, please modify these files.
  5. Analytics are hard-coded in index.html, make sure to remove them.
  6. footer links are hard-coded in App.vue