From 965a64ffaac4cd6a7a0724f0c6cc37464d24702d Mon Sep 17 00:00:00 2001 From: Prateek Kumar Date: Sun, 9 Sep 2018 03:20:36 +0530 Subject: [PATCH] Migrate from Bootstrap v3 to v4 (#571) --- data/assets.toml | 12 +- demo.sh | 0 exampleSite/content/home/hero.md | 13 +- layouts/_default/list.html | 2 +- layouts/partials/css/academic.css | 289 ++++++++---------- layouts/partials/footer_container.html | 16 +- layouts/partials/navbar.html | 39 ++- layouts/partials/pagination.html | 6 +- layouts/partials/post_li_detailed.html | 2 +- layouts/partials/publication_links.html | 24 +- layouts/partials/tags.html | 2 +- layouts/partials/talk_links.html | 12 +- layouts/partials/widgets/about.html | 8 +- layouts/partials/widgets/contact.html | 6 +- layouts/partials/widgets/custom.html | 6 +- layouts/partials/widgets/featurette.html | 2 +- layouts/partials/widgets/hero.html | 2 +- layouts/partials/widgets/hero_carousel.html | 14 +- layouts/partials/widgets/posts.html | 4 +- layouts/partials/widgets/projects.html | 12 +- layouts/partials/widgets/publications.html | 4 +- .../widgets/publications_selected.html | 4 +- layouts/partials/widgets/tag_cloud.html | 4 +- layouts/partials/widgets/talks.html | 4 +- layouts/partials/widgets/talks_selected.html | 4 +- layouts/project/single.html | 4 +- layouts/publication/single.html | 50 +-- layouts/section/post.html | 2 +- layouts/section/publication.html | 58 ++-- layouts/section/talk.html | 8 +- layouts/talk/single.html | 50 +-- static/js/hugo-academic.js | 12 +- 32 files changed, 327 insertions(+), 348 deletions(-) mode change 100644 => 100755 demo.sh diff --git a/data/assets.toml b/data/assets.toml index 13336444..25442a3d 100644 --- a/data/assets.toml +++ b/data/assets.toml @@ -8,12 +8,12 @@ # JavaScript [js.jQuery] - version = "3.2.1" - sri = "sha512-3P8rXCuGJdNZOnUx/03c1jOTnMn3rP63nBip5gOP2qmUh5YAdVAvFZ1E+QLZZbC1rtMrQb+mah3AfYW11RUrWA==" + version = "3.3.1" + sri = "sha512-+NqPlbbtM1QqiK8ZAo4Yrj2c4lNQoGv8P79DPtKzj++l5jnN39rHA/xsqn8zE9l0uSoxaCdrOgFs6yjyfbBxSg==" url = "https://cdnjs.cloudflare.com/ajax/libs/jquery/%s/jquery.min.js" [js.bootstrap] - version = "3.3.7" - sri = "sha512-iztkobsvnjKfAtTNdHkGVjAYTrrtlC7mGp/54c40wowO7LhURYl3gVzzcEqGl/qKXQltJ2HwMrdLcNUdo+N/RQ==" + version = "4.1.3" + sri = "sha256-VsEqElsCHSGmnmHXGQzvoWjWwoznFSZc6hs7ARLRacQ=" url = "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/%s/js/bootstrap.min.js" [js.highlight] version = "9.12.0" @@ -63,8 +63,8 @@ # CSS [css.bootstrap] - version = "3.3.7" - sri = "sha512-6MXa8B6uaO18Hid6blRMetEIoPqHf7Ux1tnyIQdpt9qI5OACx7C+O3IVTr98vwGnlcg0LOLa02i9Y1HpVhlfiw==" + version = "4.1.3" + sri = "sha256-eSi1q2PG6J7g7ib17yAaWMcrr5GrtohYChqibrV7PBE=" url = "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/%s/css/bootstrap.min.css" [css.fontAwesome] version = "5.3.1" diff --git a/demo.sh b/demo.sh old mode 100644 new mode 100755 diff --git a/exampleSite/content/home/hero.md b/exampleSite/content/home/hero.md index 97aa62f4..923fe3d0 100644 --- a/exampleSite/content/home/hero.md +++ b/exampleSite/content/home/hero.md @@ -25,12 +25,13 @@ weight = 3 +++ The highly flexible website framework for Hugo with an extensible plugin mechanism. Create a beautifully simple site in under 10 minutes :rocket: -
-Latest release -

- - - +
+ Latest release +
+
+ Star +
+