mirror of
https://github.com/imfing/hextra.git
synced 2025-05-16 19:28:30 -04:00
Compare commits
6 Commits
f2086da050
...
2318af782f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2318af782f | ||
![]() |
d2d2a62d5a | ||
![]() |
ff565f2077 | ||
![]() |
33dbd4561c | ||
![]() |
2355432542 | ||
![]() |
24a2734ee5 |
@ -6,7 +6,7 @@ prev: /docs/guide
|
||||
|
||||
## 目录结构
|
||||
|
||||
默认情况下,Hugo 在 `context` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
|
||||
默认情况下,Hugo 在 `content` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
|
||||
以示例网站为例:
|
||||
|
||||
<!--more-->
|
||||
|
17
exampleSite/content/docs/guide/shortcodes/pdf.md
Normal file
17
exampleSite/content/docs/guide/shortcodes/pdf.md
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Pdf
|
||||
---
|
||||
|
||||
## Example
|
||||
{{< pdf "https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf" >}}
|
||||
|
||||
## Usage
|
||||
### With URL
|
||||
```
|
||||
{{</* pdf "https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf" */>}}
|
||||
```
|
||||
|
||||
### With Path
|
||||
```
|
||||
{{</* pdf "path/to/your/pdf/file.pdf" */>}}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user