|
|
When beginning a suboffice migration into the main Department of Commerce website, two twig files need to be developed. These files can be found in /themes/custom/commerce/templates. The most efficient approach is to copy an existing suboffice twig file and rename it to the appropriate new suboffice. For example I will use OSY's twig files. The following are the set of files that need to be copied and renamed:
|
|
|
When beginning a office migration into the main Department of Commerce website, two twig files need to be developed. These files can be found in /themes/custom/commerce/templates. The most efficient approach is to copy an existing office twig file and rename it to the appropriate new office. For example I will use OSY's twig files. The following are the set of files that need to be copied and renamed:
|
|
|
|
|
|
1. block--osy-branding-block.html.twig to block--newname-branding-block.html.twig
|
|
|
- In the branding block you will need to update this information
|
|
|
- In the branding block you will need to update this information to the new office
|
|
|
|
|
|
```
|
|
|
<h1 class="usa-logo-text">
|
... | ... | @@ -13,7 +13,7 @@ When beginning a suboffice migration into the main Department of Commerce websit |
|
|
1. page--osy.html.twig to page--newname.html.twig
|
|
|
- In the page template you just need to change the name
|
|
|
|
|
|
|
|
|
In this new office website, several fixed blocks need to be developed. The following are the set of files that need to be copied and renamed:
|
|
|
|
|
|
|
|
|
|
... | ... | |