diff --git a/README.md b/README.md index 54b6623..0b44db4 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ If any of these options are given, `hugo-theme-codex` will render the social ico See the contents of the [example site](https://github.com/jakewies/hugo-theme-codex/tree/master/exampleSite) for more details. You can also create additional social icons by: -1. Add your own SVGs in `static/icons/`, for example `static/icons/reddit.svg`. -2. Modify your site's config as follows: +1. Adding your own SVGs in `static/images/social/`, for example `static/images/social/reddit.svg`. +2. Modifying your site's config as follows: ```toml [params] # ... diff --git a/assets/scss/partials/_pagination.scss b/assets/scss/partials/_pagination.scss index 0b01293..2a55018 100644 --- a/assets/scss/partials/_pagination.scss +++ b/assets/scss/partials/_pagination.scss @@ -9,7 +9,7 @@ height: 24px; width: 24px; margin: 0 1.5rem; - background-image: url(/icons/chevron-left.svg); + background-image: url(/images/chevron-left.svg); background-size: contain; background-repeat: no-repeat; } diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html index 914e613..e3b6ae2 100644 --- a/layouts/partials/social-icons.html +++ b/layouts/partials/social-icons.html @@ -6,7 +6,7 @@ {{ $icon := anchorize . }} {{ if isset $currentPage.Site.Params $icon }} diff --git a/static/icons/chevron-left.svg b/static/images/chevron-left.svg similarity index 100% rename from static/icons/chevron-left.svg rename to static/images/chevron-left.svg diff --git a/static/icons/email.svg b/static/images/social/email.svg similarity index 100% rename from static/icons/email.svg rename to static/images/social/email.svg diff --git a/static/icons/facebook.svg b/static/images/social/facebook.svg similarity index 100% rename from static/icons/facebook.svg rename to static/images/social/facebook.svg diff --git a/static/icons/github.svg b/static/images/social/github.svg similarity index 100% rename from static/icons/github.svg rename to static/images/social/github.svg diff --git a/static/icons/gitlab.svg b/static/images/social/gitlab.svg similarity index 100% rename from static/icons/gitlab.svg rename to static/images/social/gitlab.svg diff --git a/static/icons/instagram.svg b/static/images/social/instagram.svg similarity index 100% rename from static/icons/instagram.svg rename to static/images/social/instagram.svg diff --git a/static/icons/linkedin.svg b/static/images/social/linkedin.svg similarity index 100% rename from static/icons/linkedin.svg rename to static/images/social/linkedin.svg diff --git a/static/icons/twitter.svg b/static/images/social/twitter.svg similarity index 100% rename from static/icons/twitter.svg rename to static/images/social/twitter.svg diff --git a/static/icons/youtube.svg b/static/images/social/youtube.svg similarity index 100% rename from static/icons/youtube.svg rename to static/images/social/youtube.svg