-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add static navigation island plugin
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: article | ||
title: Static Navigation Island | ||
description: Make your navigation not be fixed to the screen when scrolling. | ||
date: 2024-07-24T21:56:00+03:00 | ||
author: | ||
- Gabriel Cozma | ||
tags: | ||
- Navigation | ||
banner: /images/plugins/static-nav.png | ||
prev: Numeric Headings | ||
--- | ||
|
||
If you want your navigation island to not be fixed to the screen when scrolling, you can apply this plugin. To add the plugin, simply add the plugin's name to the `plugins` array in the `config.mts` file. The plugin will be automatically added to the navigation. | ||
|
||
![Screenshot of how such an navigation would look (looks the same as deafult)](/images/plugins/static-nav.png#shadow) | ||
|
||
|
||
Plugin Name: | ||
|
||
```txt | ||
static-nav | ||
``` | ||
|
||
## Example of the Configuration | ||
|
||
```ts | ||
plugins: [ | ||
"static-nav", | ||
], | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.