diff --git a/images/screenshot.png b/images/screenshot.png index f2d577c..df7b63a 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 35aaba5..b06cc0f 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/static/assets/css/recent-posts.css b/static/assets/css/recent-posts.css index 192c0f0..da1855f 100644 --- a/static/assets/css/recent-posts.css +++ b/static/assets/css/recent-posts.css @@ -10,6 +10,7 @@ .recent-posts .card .card-footer { background: #fff; + margin-top: auto; } .recent-posts .post-card-link{ diff --git a/static/assets/js/home.js b/static/assets/js/home.js index 1e6efb4..624d22b 100644 --- a/static/assets/js/home.js +++ b/static/assets/js/home.js @@ -137,12 +137,12 @@ var projectCards; let el = document.getElementById("recent-post-cards").children; let maxHeight = 0; for (let i = 0; i < el.length; i++) { - if (el[i].children[0].clientHeight > maxHeight) { - maxHeight = el[i].children[0].clientHeight; + if (el[i].children[1].clientHeight > maxHeight) { + maxHeight = el[i].children[1].clientHeight; } } for (let i = 0; i < el.length; i++) { - el[i].children[0].setAttribute("style", "min-height: " + maxHeight + "px;") + el[i].children[1].setAttribute("style", "min-height: " + maxHeight + "px;") } } } diff --git a/theme.toml b/theme.toml index 69b3528..26a50c7 100644 --- a/theme.toml +++ b/theme.toml @@ -8,8 +8,8 @@ description = "A simple hugo theme for personal portfolio" homepage = "https://toha.netlify.app/" tags = ["Responsive","Blog", "Portfolio"] features = [] -min_version = "0.41.0" +min_version = "0.68.0" [author] name = "Emruz Hossain" - homepage = "hossainemruz.github.io" + homepage = "https://hossainemruz.github.io"