Developing a proper testing environment
22 Feb 2024In order to test any changes made to my site I have two methods:
-
Test page: A page alongside “about” that contains various features that I have yet to spread across the site. To remove the test page from the automatic sidebar, I added an AND statment determining any post titled “Test” should be removed from the sidebar “{% if node.title != null and node.title != “Test” %}”. Leaving the Test page seperate from sidebar and reachable only if searching for it.
-
Local host: Hosting the site locally allows for changes not pushed to the Git repositiory to be previewed in a browser. Specifically with the inbuilt Jekyll command ‘serve’, that hosts the site locally.