diff --git a/README.md b/README.md index 9950ec2b..4bd72da7 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ Add the theme as a git submodule: ```bash git init # if your project is a git repository already, ignore this command git submodule add https://github.com/jieiku/abridge.git themes/abridge +git submodule update --init --recursive +git submodule update --remote --merge ``` Or clone the theme into your themes directory: @@ -96,9 +98,10 @@ Copy some files from the theme directory to your project's root directory: ```bash touch templates/.gitkeep +rsync themes/abridge/.gitignore .gitignore rsync themes/abridge/config.toml config.toml rsync themes/abridge/content/_index.md content/ -rsync themes/abridge/COPY-TO-ROOT-SASS/* sass/ +rsync -r themes/abridge/COPY-TO-ROOT-SASS/* sass/ rsync themes/abridge/netlify.toml netlify.toml rsync themes/abridge/package_abridge.js package_abridge.js rsync themes/abridge/package.json package.json diff --git a/content/overview-abridge/index.md b/content/overview-abridge/index.md index 4739a14e..73e6c47b 100644 --- a/content/overview-abridge/index.md +++ b/content/overview-abridge/index.md @@ -77,6 +77,8 @@ Add the theme as a git submodule: ```bash git init # if your project is a git repository already, ignore this command git submodule add https://github.com/jieiku/abridge.git themes/abridge +git submodule update --init --recursive +git submodule update --remote --merge ``` Or clone the theme into your themes directory: @@ -91,9 +93,10 @@ Copy some files from the theme directory to your project's root directory: ```bash touch templates/.gitkeep +rsync themes/abridge/.gitignore .gitignore rsync themes/abridge/config.toml config.toml rsync themes/abridge/content/_index.md content/ -rsync themes/abridge/COPY-TO-ROOT-SASS/* sass/ +rsync -r themes/abridge/COPY-TO-ROOT-SASS/* sass/ rsync themes/abridge/netlify.toml netlify.toml rsync themes/abridge/package_abridge.js package_abridge.js rsync themes/abridge/package.json package.json