diff options
author | Sojon <sojonatmail@gmail.com> | 2021-07-04 14:02:31 +0300 |
---|---|---|
committer | Sojon <sojonatmail@gmail.com> | 2021-07-04 14:02:31 +0300 |
commit | a82fc17fe8b2037472982221fb6e33f3b95a411b (patch) | |
tree | 38c78acb768f0b5bef922abb63fa30e1f407d30e | |
parent | 06e528fbe39bca7c28828bc1b4b000ad35d97c1a (diff) |
favicon added
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | exampleSite/static/images/favicon.png | bin | 0 -> 298 bytes | |||
-rw-r--r-- | layouts/_default/post.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 59b4d26..6c09006 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -71,6 +71,10 @@ weight = 1 description = "This is meta description" author = "Themefisher" +# favicon +[params.favicon] +favicon = "images/favicon.png" + # cookies [params.cookies] enable = true diff --git a/exampleSite/static/images/favicon.png b/exampleSite/static/images/favicon.png Binary files differnew file mode 100644 index 0000000..3734d48 --- /dev/null +++ b/exampleSite/static/images/favicon.png diff --git a/layouts/_default/post.html b/layouts/_default/post.html index dfc9ebb..d3582dc 100644 --- a/layouts/_default/post.html +++ b/layouts/_default/post.html @@ -66,9 +66,9 @@ class="more-link"><span class="faux-button">Continue Reading</span></a></div> </div><!-- .entry-content --> </div><!-- .post-inner --> - <div class="section-inner"> + <div class="section-inner {{if not .Params.Tags}}d-none{{end}}"> <div class="post-meta-wrapper post-meta-single post-meta-single-bottom"> - <ul class="post-meta"> + <ul class="post-meta" style="justify-content:center"> <li class="post-tags meta-wrapper"> <span class="meta-icon"> <span class="screen-reader-text">Tags</span> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 10947a6..5d6d715 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -71,7 +71,7 @@ </div><!-- .entry-content --> </div><!-- .post-inner --> - <div class="section-inner"> + <div class="section-inner {{if not .Params.Tags}}d-none{{end}}"> <div class="post-meta-wrapper post-meta-single post-meta-single-bottom"> <ul class="post-meta"> <li class="post-tags meta-wrapper"> |