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
Homepage. - dataset.md: the
Datasetpage. - tools.md: the
Toolspage. - recorder.md: the
Recorderpage. - pose.md: the
Posepage. [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
includetag allows you to include the content from another file stored in the_includesfolder. - _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 4000and reopen the site.