📖 created recipe section

This commit is contained in:
Nuno Coração 2023-01-15 00:22:05 +00:00
parent 76a735e662
commit 438d493bd5
12 changed files with 69 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View file

@ -15,13 +15,25 @@
pageRef = "docs"
weight = 10
[[main]]
name = "Examples"
weight = 20
[[main]]
name = "Guides"
parent = "Examples"
pageRef = "guides"
weight = 10
[[main]]
name = "Samples"
parent = "Examples"
pageRef = "samples"
weight = 20
[[main]]
name = "Showcase"
parent = "Examples"
pageRef = "examples"
weight = 30

View file

@ -17,7 +17,7 @@ mainSections = ["docs"]
disableImageOptimization = true
defaultBackgroundImage = "/img/iceland.jpg"
defaultBackgroundImage = "/img/paint.png"
highlightCurrentMenuArea = true
smartTOC = true
@ -35,7 +35,7 @@ smartTOCHideUnfocusedChildren = false
[homepage]
layout = "custom" # valid options: page, profile, hero, card, background, custom
homepageImage = "/img/iceland.jpg" # used in: hero, and card
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
showRecent = false
showRecentItems = 10
showMoreLink = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

View file

@ -0,0 +1,19 @@
---
title: "Guides"
description: "Recipes, guides, and tutorials for Blowfish"
cascade:
showDate: false
showAuthor: false
invertPagination: true
---
{{< lead >}}
Recipes, guides, and tutorials for Blowfish
{{< /lead >}}
**Blowfish user?** To add your guide to this list, [check the template](/guides/template/).
This section contains guides for a variety of scnearios on how to configure your theme. If you're new, check out the [Installation]({{< ref "docs/installation" >}}) guide to begin or visit the [Samples]({{< ref "samples" >}}) section to see what Blowfish can do.
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

View file

@ -0,0 +1,36 @@
---
title: "Guide Template"
date: 2222-12-22
draft: false
description: "Template for creating a guide"
tags: ["template"]
---
Thank you for wanting to contribute to Blowfish's community.
## How to start?
This is a template article that will explain how to create a new article for Blowfish's guide section.
## Clone Blowfish
Clone this repo with the following command:
```bash
git clone https://github.com/nunocoracao/blowfish.git
```
## Setup your files
Copy and paste the entire folder where this `.md` file is.
Name it using the following convention `YYYYMM-title`, no white spaces are allowed.
## Write your guide
Write your guide :)
Use the `img` folder to place your images and use them:
![]()
![Example](img/example.jpg "Image caption")
## Open a PR
Open a PR and thanks in advance for your contribution.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

View file

@ -170,7 +170,6 @@
var $mainmenu = $('.main-menu');
var path = window.location.pathname;
$mainmenu.find('a[href="' + path + '"]').each(function (i, e) {
console.log($(e).children('a'))
$(e).children('p').addClass('active');
});
})();