The website code for H2TC
- _config.yml: configuration file for the website layout and structure, such as site description, logo, site navigation and footer.
- index.md: the
Home
page. - dataset.md: the
Dataset
page. - tools.md: the
Tools
page. - recorder.md: the
Recorder
page. - pose.md: the
Pose
page. [todo] - about.md: team member page. [not shown on the website yet]
- search.md: site researching page. [not shown on the website yet]
- 404.md: default Not Found page. [it appears when something gets wrong]
- offline.md: default offline page. [it appears when users are offline]
- LICENSE: the website template LICENSE, not ours.
- Gemfile, alembic-jekyll-theme.gemspec: the file to deploy a local website.
- CNAME: DNS record that maps an alias name to a true or canonical domain name.
- assets: the location for our used images and videos.
- _sass: the style sheets for the current template.
- _includes: the
include
tag allows you to include the content from another file stored in the_includes
folder. - _layouts: the location for various template pages.
You need to deploy a local website following the official docs. It includes:
- Install Jekyll, Ruby and Bundler
- Build your site locally: 1) Open the terminal. 2) Navigate to this folder. 3) Run
bundle install
. 4) Runbundle exec jekyll serve --port 4000
. 5) To preview your site, in your web browser, navigate to http://localhost:4000.
Note:
- The default port is 4000. You can change it to avoid conflict.
- The local website content will update synchronously when you change the source codes. If the local website is not updated synchronously, you need to rerun the
bundle exec jekyll serve --port 4000
and reopen the site.