📖 created recipe section
BIN
exampleSite/assets/img/paint.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 4.8 MiB |
19
exampleSite/content/guides/_index.md
Executable 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.
|
||||
|
||||
---
|
BIN
exampleSite/content/guides/template/cover.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
exampleSite/content/guides/template/img/example.jpg
Normal file
After Width: | Height: | Size: 4.1 MiB |
36
exampleSite/content/guides/template/index.md
Normal 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.
|
Before Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 4.8 MiB |
|
@ -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');
|
||||
});
|
||||
})();
|
||||
|
|