| | |
| | | This option enables you to load compose theme as a hugo module. |
| | | |
| | | ```bash |
| | | git clone https://github.com/onweru/compose/ |
| | | git clone https://github.com/onweru/compose.git |
| | | cd compose/exampleSite/ |
| | | hugo server |
| | | ``` |
| | |
| | | hugo new site yourSiteName |
| | | cd yourSiteName |
| | | git init |
| | | git submodule add https://github.com/onweru/compose/ themes/compose |
| | | git submodule add https://github.com/onweru/compose.git themes/compose |
| | | cp -a themes/compose/exampleSite/* . |
| | | ``` |
| | | |
| | |
| | | You can run your site directly from the `exampleSite`. To do so, use the following commands: |
| | | |
| | | ```bash |
| | | git clone https://github.com/onweru/compose/ |
| | | git clone https://github.com/onweru/compose.git |
| | | cd compose/exampleSite/ |
| | | hugo server --themesDir ../.. |
| | | ``` |