From ae2568ca81373f0f5123f77e70d935adfd7e4563 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Sat, 22 Jul 2023 11:20:40 +0600 Subject: [PATCH] update prettierrc and navigation --- .prettierrc | 1 + assets/scss/navigation.scss | 6 ++-- exampleSite/hugo.toml | 2 +- layouts/partials/essentials/header.html | 38 ++++++++++++++----------- package.json | 8 +++--- 5 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.prettierrc b/.prettierrc index f222a15..ee30508 100755 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-go-template"], "overrides": [ { "files": ["*.html"], diff --git a/assets/scss/navigation.scss b/assets/scss/navigation.scss index 8bfe066..de30321 100755 --- a/assets/scss/navigation.scss +++ b/assets/scss/navigation.scss @@ -31,9 +31,9 @@ input#nav-toggle:checked ~ #nav-menu { @apply text-center lg:text-left; } -.nav-item { - // @apply mx-3; -} +// .nav-item { +// @apply mx-3; +// } .nav-link { @apply text-dark hover:text-primary dark:text-darkmode-dark block p-3 font-semibold transition lg:px-2 lg:py-3; diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index d0e0c77..9f7b6d2 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -1,7 +1,7 @@ ######################## default configuration #################### baseURL = "https://hugoplate.netlify.app/" title = "Hugoplate" -# theme = "hugoplate" +# theme = "hugoplate" # Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List timeZone = "America/New_York" # post pagination diff --git a/layouts/partials/essentials/header.html b/layouts/partials/essentials/header.html index 48d935c..6883398 100755 --- a/layouts/partials/essentials/header.html +++ b/layouts/partials/essentials/header.html @@ -11,24 +11,28 @@ - diff --git a/package.json b/package.json index a2d8552..5806064 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -22,10 +22,10 @@ "@tailwindcss/forms": "^0.5.4", "@tailwindcss/typography": "^0.5.9", "autoprefixer": "^10.4.14", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-cli": "^10.1.0", - "prettier": "^2.8.8", - "prettier-plugin-go-template": "0.0.13", + "prettier": "^3.0.0", + "prettier-plugin-go-template": "0.0.15", "prettier-plugin-tailwindcss": "^0.4.1", "tailwind-bootstrap-grid": "^5.0.1", "tailwindcss": "^3.3.3"