mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 05:21:53 +02:00
Routing Deploy Blogs
This commit is contained in:
parent
396692e017
commit
688d458f44
6 changed files with 12 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="relative pt-16 pb-32">
|
<div class="relative pt-16 pb-32" >
|
||||||
<div aria-hidden="true" class="absolute inset-x-0 top-0 h-48 bg-gradient-to-b from-gray-100"></div>
|
<div aria-hidden="true" class="absolute inset-x-0 top-0 h-48 bg-gradient-to-b from-gray-100"></div>
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="lg:mx-auto lg:grid lg:max-w-7xl lg:grid-flow-col-dense lg:grid-cols-2 lg:gap-24 lg:px-8">
|
<div class="lg:mx-auto lg:grid lg:max-w-7xl lg:grid-flow-col-dense lg:grid-cols-2 lg:gap-24 lg:px-8">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ $recentArticles := 5 }}
|
{{ $recentArticles := 5 }}
|
||||||
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
|
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
|
||||||
|
|
||||||
<section class="w-full grid gap-4 sm:grid-cols-2 md:grid-cols-3">
|
<section class="w-full grid gap-4 sm:grid-cols-2 md:grid-cols-3" >
|
||||||
{{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in"
|
{{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in"
|
||||||
.Site.Params.mainSections)).Pages }}
|
.Site.Params.mainSections)).Pages }}
|
||||||
{{ partial "article-link/card.html" . }}
|
{{ partial "article-link/card.html" . }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<a href="{{ .Page.RelPermalink }}" class="min-w-full">
|
<a href="{{ .Page.RelPermalink }}" class="min-w-full">
|
||||||
<div
|
<div
|
||||||
class="border border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative">
|
class="border border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative" >
|
||||||
|
|
||||||
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
{{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<article class="w-full px-2 my-3 overflow-hidden sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/4">
|
<article class="w-full px-2 my-3 overflow-hidden sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/4" >
|
||||||
<h2 class="flex items-center">
|
<h2 class="flex items-center">
|
||||||
<a
|
<a
|
||||||
class="text-xl font-medium decoration-primary-500 hover:underline hover:underline-offset-2"
|
class="text-xl font-medium decoration-primary-500 hover:underline hover:underline-offset-2"
|
||||||
|
|
7
package-lock.json
generated
7
package-lock.json
generated
|
@ -14,7 +14,8 @@
|
||||||
"@heroicons/react": "^2.1.5",
|
"@heroicons/react": "^2.1.5",
|
||||||
"@iamtraction/google-translate": "^2.0.1",
|
"@iamtraction/google-translate": "^2.0.1",
|
||||||
"@tailwindcss/forms": "^0.5.9",
|
"@tailwindcss/forms": "^0.5.9",
|
||||||
"commander": "^12.1.0"
|
"commander": "^12.1.0",
|
||||||
|
"hugo-blowfish-theme": "file:"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.15",
|
"@tailwindcss/typography": "^0.5.15",
|
||||||
|
@ -2419,6 +2420,10 @@
|
||||||
"node": ">= 14"
|
"node": ">= 14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/hugo-blowfish-theme": {
|
||||||
|
"resolved": "",
|
||||||
|
"link": true
|
||||||
|
},
|
||||||
"node_modules/iconv-lite": {
|
"node_modules/iconv-lite": {
|
||||||
"version": "0.6.3",
|
"version": "0.6.3",
|
||||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
|
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
"@heroicons/react": "^2.1.5",
|
"@heroicons/react": "^2.1.5",
|
||||||
"@iamtraction/google-translate": "^2.0.1",
|
"@iamtraction/google-translate": "^2.0.1",
|
||||||
"@tailwindcss/forms": "^0.5.9",
|
"@tailwindcss/forms": "^0.5.9",
|
||||||
"commander": "^12.1.0"
|
"commander": "^12.1.0",
|
||||||
|
"hugo-blowfish-theme": "file:"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue