Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Dec 3, 2021
2 parents 857fd74 + 434693a commit beecae2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
## 12/03/2021

1. [](#new)
* Support built-in 'anchors' with customization of icon/classes/css etc
* Moved the core TOC functionality in-plugin to provide more flexibility
* Added a new `[anchor]` shortcode for creating manual anchors for easy linking to page content
* **NEW** Support built-in `anchors`'` with customization of icon/classes/css etc.
* **NEW** `[anchor]` shortcode for creating manual anchors for easy linking to page content
* Moved the vendor-based TOC functionality in-plugin to provide more flexibility and additional features
* Added several more Twig functions for increased flexibility
* Ability to limit the length of a fragment link
* Ability to set a custom prefix for anchor links
* New `languages.yaml` file for text translations
* Added `languages.yaml` file for text translations
2. [](#improved)
* Independent control over the levels of anchors that should be built, and the TOC displayed
* Independent control over the levels of anchors that should be built and the TOC displayed
* `page-toc:` page-level configuration can be set in parent pages and trickles down to child pages
* Removed dependency on HTML5 library and use the faster PHP `DOMDocument` class
* Translated text for the "Table of Contents" in the `page-toc.html.twig` template
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Page Toc Plugin

The **Page Toc** Plugin is for [Grav CMS](http://github.com/getgrav/grav) that generates a table of contents from a page's HTML header tags.
The **Page Toc** Plugin is for [Grav CMS](http://github.com/getgrav/grav) that generates a table of contents from a page's HTML header tags. With version `3.0` this plugin is also able to automatically generate anchor links with hover-click capability without the need for other plugins or even the table of contents functionality.

![](assets/page-toc.png)

Expand Down
4 changes: 2 additions & 2 deletions blueprints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Page Toc
type: plugin
slug: page-toc
version: 3.0.0
description: Generate a table of contents from a page
description: Generate a table of contents and anchors from a page
icon: list
author:
name: Trilby Media, LLC
email: [email protected]
url: http://trilby.media
homepage: http://trilby.media
keywords: grav, plugin, toc
keywords: grav, plugin, toc, anchors
bugs: https://github.com/trilbymedia/grav-plugin-page-toc/issues
docs: https://github.com/trilbymedia/grav-plugin-page-toc/blob/develop/README.md
license: MIT
Expand Down

0 comments on commit beecae2

Please sign in to comment.