From 44318d706794ac6e7f1316fc4f6806f16ea2f6da Mon Sep 17 00:00:00 2001 From: Loretta Hu <67490422+lorhzy09@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:44:52 +0800 Subject: [PATCH] edited website guide --- Gemfile.lock | 3 ++- docs/website-guide/website-guide.md | 12 ++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2a05e9c..8a5f1e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -72,7 +72,7 @@ GEM safe_yaml (1.0.5) sass-embedded (1.66.1-arm64-darwin) google-protobuf (~> 3.23) - sass-embedded (1.66.1-x86_64-linux-gnu) + sass-embedded (1.66.1-x86_64-linux) google-protobuf (~> 3.23) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -80,6 +80,7 @@ GEM webrick (1.8.1) PLATFORMS + arm64-darwin-21 arm64-darwin-22 x86_64-linux diff --git a/docs/website-guide/website-guide.md b/docs/website-guide/website-guide.md index b686c6f..01dbebf 100644 --- a/docs/website-guide/website-guide.md +++ b/docs/website-guide/website-guide.md @@ -19,25 +19,17 @@ Before learning to edit and update the website, it's better to have a basic unde - `_config.yml` is a YAML file that stores configuration data, which include site settings and rarely changed variables (name, description, etc.) - > note: folders that starts with a "_" are special folders associatedwith the jekyll template. Every other directory/file such as `css` files and `images` folder are generate verbatim to site. - -- `_data`: -contains well-formatted site data. Jekyll automatically loads its children files (in `.yml`, `.yaml`, `.json`, `.csv` or `.tsv`) to be accessible via `site.data`. - -To access contents of a file: for a file named `members.yml`, use code `site.data.members`. - +- **`_data`**: +contains well-formatted site data. Jekyll automatically loads its children files (in `.yml`, `.yaml`, `.json`, `.csv` or `.tsv`) to be accessible via `site.data`. (To access contents of a file: for a file named `members.yml`, use code `site.data.members`) - `navigation.yml` navigation for the pages - - `sitetext.yml` - - `style.yml` - `_includes`: partial html pages mixed and matched by layouts and posts to facilitate reuse. - - `_layouts`: html templates that wrap posts, chosen on a post-by-post basis in the front matter.