diff options
author | Matt <matt@mattbutton.com> | 2021-07-23 13:28:48 +0300 |
---|---|---|
committer | Matt <matt@mattbutton.com> | 2021-07-23 13:30:26 +0300 |
commit | b48cad714fe272fde647f1d06e03dbd5a0f9e590 (patch) | |
tree | a70501542434e35fa497c5b08d35353dbe209b9f | |
parent | ac9d5a36f11f86380d804da7456a4444b9f774cb (diff) |
-rw-r--r-- | README.md | 24 | ||||
-rw-r--r-- | theme.toml | 2 |
2 files changed, 18 insertions, 8 deletions
@@ -32,29 +32,39 @@ In 2018 I rebuilt the theme using [Bootstrap 4.1](https://getbootstrap.com/), an The silhouette image is taken from [this photo](https://unsplash.com/photos/85J99sGggnw) by Karl Magnuson. -## Usage +## Quickstart Create a new Hugo site by typing ``` - $ hugo new site <SITENAME> +hugo new site <SITENAME> ``` Then clone this repository: ``` - $ cd <SITENAME>/themes - $ git clone https://github.com/mattbutton/silhouette-hugo.git +cd <SITENAME>/themes +git clone https://github.com/mattbutton/silhouette-hugo.git ``` Add the theme to your site's config file: ``` - $ cd .. - $ echo 'theme = "silhouette-hugo"' >> config.toml +cd .. +echo 'theme = "silhouette-hugo"' >> config.toml ``` -Now take a look at the exampleSite folder and you're ready to go! +If you want some starter content, you can copy some from the `exampleSite` folder: + +``` +cp -r themes/silhouette-hugo/exampleSite/* . +``` + +Then start up the site via: + +``` +hugo serve -D +``` ## License @@ -6,7 +6,7 @@ license = "MIT" licenselink = "https://github.com/mattbutton/silhouette-hugo/blob/master/LICENSE" description = "A responsive blog theme for Hugo." homepage = "https://www.mattbutton.com/" -tags = ["blog, responsive, personal, bootstrap, disqus, google analytics, syntax highligting, font awesome, landing page, flexbox"] +tags = ["blog, responsive, personal, bootstrap, disqus, google analytics, syntax highlighting, font awesome, landing page, flexbox"] features = ["blog", "bootstrap","responsive"] min_version = "0.51" |