mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 09:21:54 +02:00
Merge 0f36c01205
into 396692e017
This commit is contained in:
commit
e449126c7c
7 changed files with 14 additions and 8 deletions
|
@ -119,7 +119,7 @@ blowfish-tools new mynewsite
|
|||
|
||||
3. In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
||||
|
||||
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip) from GitHub.
|
||||
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/download/latest/config-default.zip) from GitHub.
|
||||
|
||||
4. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.
|
||||
|
||||
|
@ -146,7 +146,7 @@ blowfish-tools new mynewsite
|
|||
|
||||
> **Note:** Do not overwrite the `module.toml` file you created above!
|
||||
|
||||
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip) from GitHub.
|
||||
You will find these theme config files in the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nunocoracao/blowfish/tree/main/config/_default) from GitHub.
|
||||
|
||||
5. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.
|
||||
|
||||
|
|
|
@ -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 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">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ $recentArticles := 5 }}
|
||||
{{ $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"
|
||||
.Site.Params.mainSections)).Pages }}
|
||||
{{ partial "article-link/card.html" . }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<a href="{{ .Page.RelPermalink }}" class="min-w-full">
|
||||
<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 }}
|
||||
|
||||
|
|
|
@ -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">
|
||||
<a
|
||||
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",
|
||||
"@iamtraction/google-translate": "^2.0.1",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"commander": "^12.1.0"
|
||||
"commander": "^12.1.0",
|
||||
"hugo-blowfish-theme": "file:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
|
@ -2419,6 +2420,10 @@
|
|||
"node": ">= 14"
|
||||
}
|
||||
},
|
||||
"node_modules/hugo-blowfish-theme": {
|
||||
"resolved": "",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/iconv-lite": {
|
||||
"version": "0.6.3",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
"@heroicons/react": "^2.1.5",
|
||||
"@iamtraction/google-translate": "^2.0.1",
|
||||
"@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