About

Nifty site manager (nsm) is a cross-platform open source git-like and $\LaTeX$-like site manager coded in C++. This is the site for the nsm site repository template parchment-site.

See the FAQ page for how to import/fork this repository along with answers to other frequently asked questions.

To install nsm see the nsm install pages. You can learn more about managing sites from the nsm commands, content files, template files and nsm tutorial pages from the nsm documentation. The simpler things you may wish to do are below.

How do I add a page to my site?

  1. From the terminal navigate your way to the site directory.
  2. Enter nsm track page-name (page-title) where page-name is the name of the page file (including any directories) and optionally page-title is the title of the page. If you would like the page in a directory use page name dir-name/page-name.

How do I remove a page from my site?

  1. From the terminal navigate your way to the site directory.
  2. Enter nsm rm page-name where page-name is the name of the page file (including any directories).

How do I modify a page on my site?

  1. Modify the content file content/page-name.content.
  2. From the terminal navigate your way to the site directory.
  3. To view changes locally enter nsm build-updated to build the updated pages, then view the site locally (see the FAQ page for how).
  4. To push the changes remotely, enter nsm bcp "commit message". Note bcp will build the updated changes locally, commit the changes to your local repository and push the changes to the remote repository, which after a short delay will update your site online.