mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d'
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
---
|
||||
title: Local File Templates
|
||||
title: Local file templates
|
||||
description: Hugo's `readDir` and `readFile` functions make it easy to traverse your project's directory structure and write file contents to your templates.
|
||||
categories: [templates]
|
||||
keywords: [files,directories]
|
||||
menu:
|
||||
docs:
|
||||
parent: templates
|
||||
weight: 110
|
||||
weight: 110
|
||||
weight: 180
|
||||
weight: 180
|
||||
aliases: [/extras/localfiles/,/templates/local-files/]
|
||||
toc: true
|
||||
---
|
||||
|
||||
## Traverse Local Files
|
||||
## Traverse local files
|
||||
|
||||
With Hugo's [`readDir`][readDir] and [`readFile`][readFile] template functions, you can traverse your website's files on your server.
|
||||
|
||||
|
Reference in New Issue
Block a user