From 702753e3580bc30e8c904eb072e98f46296202ed Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Wed, 25 Nov 2020 11:31:11 +0100 Subject: Add support for menu item pre and post hooks Closes #8 --- exampleSite/config.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a78b5d6..7dd0f4a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -25,6 +25,9 @@ googleAnalytics = "" # add your tracking id [[menu.main]] name = "Resume" url = "/resume.pdf" + # 'pre' and 'post' hooks are available + # here we use an icon from Bootstrap https://icons.getbootstrap.com/ + pre = ' ' weight = 2 [[menu.main]] name = "Contact" -- cgit v1.2.3