mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
4c220c4ac2
Fixes #3709
24 lines
452 B
Markdown
24 lines
452 B
Markdown
---
|
|
linktitle: imageConfig
|
|
description: Parses the image and returns the height, width, and color model.
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
#tags: [images]
|
|
signature: ["imageConfig PATH"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
---
|
|
|
|
```golang
|
|
{{ with (imageConfig "favicon.ico") }}
|
|
favicon.ico: {{.Width}} x {{.Height}}
|
|
{{ end }}
|
|
```
|