Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjornbp authored Feb 2, 2024
1 parent 30bf548 commit 4652a28
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions README.md
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/

0 comments on commit 4652a28

Please sign in to comment.