The following checklist should be actioned after all major development work has been completed.
Check the website:
- Responds to different devices and screen sizes appropriately.
- The design of the site is displayed as expected.
### Disabling all apps code loaded via `content_for_header` | |
Apps are all loaded in the header via a single script call, then the remaining assets are loaded below. This process takes place in the liquid tag `content_for_header`. | |
1. Open theme.liquid and locate the line which reads `{{ content_for_header }}`. | |
2. Now you can paste the following block of code to disable all apps on a new line before `{{ content_for_header }}`. | |
``` | |
{% comment %} Leave url_to_remove as 0 to remove all apps, or set to a number to remove a specific app. {% endcomment %} |
Sometimes you may want to undo a whole commit with all changes. Instead of going through all the changes manually, you can simply tell git to revert a commit, which does not even have to be the last one. Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.
git revert {commit_id}
Deleting the last commit is the easiest case. Let's say we have a remote origin with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the origin remote repository to the parent of dd61ab32:
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}