diff --git a/assets/css/screen.css b/assets/css/screen.css index 06bfba18..fe0cedc3 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -15,7 +15,6 @@ @import "site/footer.css"; @import "site/modal.css"; @import "site/search.css"; -@import "site/popular.css"; @import "site/burger.css"; @import "blog/feed.css"; @import "blog/featured.css"; diff --git a/assets/css/site/popular.css b/assets/css/site/popular.css deleted file mode 100644 index ac70a293..00000000 --- a/assets/css/site/popular.css +++ /dev/null @@ -1,25 +0,0 @@ -.popular-wrapper { - padding: 2rem 1.5rem 1.5rem; -} - -.popular-title { - margin-bottom: 1rem; - color: var(--secondary-text-color); - font-size: 1.2rem; - text-transform: uppercase; -} - -.popular-feed { - display: flex; - flex-wrap: wrap; -} - -.popular { - margin-right: 0.8rem; - margin-bottom: 0.4rem; - font-weight: 700; -} - -.popular::before { - content: "#"; -} diff --git a/assets/js/main.js b/assets/js/main.js index 43a75288..b92aa04d 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -238,7 +238,6 @@ function search() { var searchInput = $('.search-input'); var searchButton = $('.search-button'); var searchResult = $('.search-result'); - var popular = $('.popular-wrapper'); var includeContent = typeof gh_search_content == 'undefined' || gh_search_content == true ? true @@ -329,12 +328,6 @@ function search() { } else { searchButton.removeClass('search-button-clear'); } - - if (result.length > 0) { - popular.hide(); - } else { - popular.show(); - } }); $('.search-form').on('submit', function (e) { diff --git a/partials/modal.hbs b/partials/modal.hbs index 25b87ab4..0266a5a4 100644 --- a/partials/modal.hbs +++ b/partials/modal.hbs @@ -11,18 +11,6 @@ - {{#get "tags" limit="5" include="count.posts" order="count.posts desc"}} - {{#if tags}} - - {{/if}} - {{/get}}
- \ No newline at end of file +