You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hugo-modules/core/README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[Hugo](https://gohugo.io/) templates and utilities that support [Contentful](https://www.contentful.com/) and/or [Storybook](https://storybook.js.org/) projects.
4
4
5
-
-[wekit-core](#wekit-core)
5
+
-[WEKit core](#wekit-core)
6
6
-[Utils](#utils)
7
7
-[asset](#asset)
8
8
-[svg/icon](#svgicon)
@@ -11,6 +11,7 @@
11
11
-[console/error](#consoleerror)
12
12
-[console/warn](#consolewarn)
13
13
-[dump](#dump)
14
+
-[get-abs-url](#get-abs-url)
14
15
-[get-category-name](#get-category-name)
15
16
-[get-data](#get-data)
16
17
-[get-page](#get-page)
@@ -28,14 +29,15 @@
28
29
-[Layouts](#layouts)
29
30
-[storybook](#storybook)
30
31
-[robots.txt](#robotstxt)
32
+
-[Contributors](#contributors)
31
33
-[Credits](#credits)
32
34
33
35
## Utils
34
36
35
37
### asset
36
38
37
39
Render Contentful asset. Uses data from [cssg-plugin-assets](https://github.com/jungvonmatt/contentful-ssg/tree/main/packages/cssg-plugin-assets) if available.
38
-
Uses `svg/icon` when the inline options is set and we got an svg,
40
+
Uses `svg/icon` when the inline options is set and we got an svg,
39
41
*Template*
40
42
41
43
```
@@ -119,6 +121,16 @@ Dump variable as highlighted yaml.
119
121
{{ partial "utils/dump" .context }}
120
122
```
121
123
124
+
### get-abs-url
125
+
126
+
Returns an absolute URL with forced https prototol.
0 commit comments