Converted 'article' nomenclature to 'interview'
This commit is contained in:
18
README.md
18
README.md
@ -20,24 +20,24 @@ Then, to serve the site locally:
|
||||
hugo server
|
||||
```
|
||||
|
||||
## Articles
|
||||
## Interviews
|
||||
|
||||
see `/archetypes/article.md` for the article template. You can create a new article with:
|
||||
see `/archetypes/interview.md` for the interview template. You can create a new interview with:
|
||||
|
||||
```
|
||||
hugo new content content/articles/lastname-interview_title.md
|
||||
hugo new content content/interviews/lastname-interview_title.md
|
||||
```
|
||||
|
||||
This will create a new article in the `content/articles` directory with the current date and the title you provide. You can then edit the file to add your content.
|
||||
This will create a new interview in the `content/interviews` directory with the current date and the title you provide. You can then edit the file to add your content.
|
||||
|
||||
Alternately, you can manually add a file there in the proper format.
|
||||
|
||||
### Headshots
|
||||
|
||||
Optionally you can add a headshot photo to your article. To do this:
|
||||
Optionally you can add a headshot photo to your interview. To do this:
|
||||
|
||||
1. Place your image file in the `/assets/headshots/` directory
|
||||
2. Add a `headshot` field to your article's front matter with just the filename. For example:
|
||||
2. Add a `headshot` field to your interview's front matter with just the filename. For example:
|
||||
|
||||
```yaml
|
||||
headshot: "firstname_lastname.jpg"
|
||||
@ -47,7 +47,7 @@ headshot: "firstname_lastname.jpg"
|
||||
|
||||
### Narrator links
|
||||
|
||||
You can add links to an article that relate to the narrator. To do this, add a `links` field to the front matter of the article. The value should be a list of objects, each with a `text` and `url` field. For example:
|
||||
You can add links to an interview that relate to the narrator. To do this, add a `links` field to the front matter of the interview. The value should be a list of objects, each with a `text` and `url` field. For example:
|
||||
|
||||
```
|
||||
links:
|
||||
@ -56,11 +56,11 @@ links:
|
||||
- text: "My Twitter"
|
||||
url: "https://twitter.com/example"
|
||||
```
|
||||
This will include the links in the article page. The links will be displayed as a list with the text as the link text and the URL as the link target.
|
||||
This will include the links in the interview page. The links will be displayed as a list with the text as the link text and the URL as the link target.
|
||||
|
||||
### Open Graph Image
|
||||
|
||||
You can add Open Graph image (for social media sharing) to an article. To do this, add a `ogImage` field to the front matter of the article. The value should be the path to the image file. For example:
|
||||
You can add Open Graph image (for social media sharing) to an interview. To do this, add a `ogImage` field to the front matter of the interview. The value should be the path to the image file. For example:
|
||||
|
||||
```yaml
|
||||
ogImage: "/images/my-image.jpg"
|
||||
|
Reference in New Issue
Block a user