-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30bf548
commit 4652a28
Showing
1 changed file
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,37 @@ | ||
This is the repository for the digital preservation blog. Based on Papermod theme. | ||
This is the repository for the digital preservation webpage and blog. | ||
|
||
--- | ||
|
||
Add new blog posts under content/blog, add new documents under the documents folder, organize in subfolders if necessary. | ||
To preview locally. run `hugo server -D` (builds posts and drafts) | ||
|
||
See samplepost.md for all available markdown syntax and explanations for frontmatter. | ||
|
||
See https://gohugo.io/content-management/organization/ | ||
|
||
Add new blog posts under content/blog directory. Organize as page bundles if using assets. | ||
|
||
``` | ||
Content | ||
└── blog | ||
├── Post1 <-- Page bundle for post 1 | ||
│ ├── index.md <------ post in markdown | ||
│ └── image1.jpeg <------ asset used in post | ||
├── Post2 <-- Page bundle for post 2 | ||
│ └── index.md <------ post in markdown | ||
│ └── image1.jpeg <------ asset used in post | ||
├── posttitle.md <-- post 3 in markdown (w/ no assets) straight under blog directory | ||
└── _index.md <-- index/layout definitions for blog overview page (do not edit) | ||
``` | ||
|
||
Add new documents under content/documents, similarly to blog posts. These posts only show under the documents-tab. | ||
|
||
``` | ||
Content | ||
├── blog | ||
│ ├── Post1 | ||
│ │ ├── index.md <- post in markdown | ||
│ │ └── image1.jpeg <- asset used in post | ||
│ ├── Post2 | ||
│ │ └── index.md <- post in markdown | ||
│ │ └── image1.jpeg <- asset used in post | ||
│ ├── _index.md <- index for all blog posts (don't edit) | ||
│ └── Post3.md <- post in markdown with no assets | ||
├── documents | ||
│ ├── _index.md | ||
│ ├── nln-digipres-principles-NOR.md | ||
│ ├── nln-digipres-strategy-2024-2025-ENG.md | ||
│ └── nln-digipres-strategy-2024-2025-NOR.md | ||
└── search.md | ||
├── Post1 <-- Page bundle for post 1 | ||
│ ├── index.md <------ document 1 in markdown | ||
│ └── image1.jpeg <------ asset used in post | ||
├── Document2.md <-- document 2 in markdown (w/ no assets) straight under blog directory | ||
└── _index.md <-- index/layout definitions document overview page (do not edit) | ||
``` | ||
|
||
See https://gohugo.io/content-management/organization/ |