Skip to content

Commit

Permalink
Set repo for footer and/or suppress the edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley authored Oct 14, 2024
1 parent a253412 commit b45ce87
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ extra_head: |
<!-- / Fathom -->
```

Set the repository, which will cause an "Edit This Page" link to appear in the footer:

```
repo: [https://github.com/me/therepo](https://github.com/me/therepo)
```

### Use lume cms
You can also edit the above settings via [lume cms](https://lume.land/cms/) (run `deno task lume cms`), which is now included with simple-wiki. See the [relevant config section](https://github.com/lumeland/theme-simple-wiki/blob/main/_cms.ts#L18-L60) in the wiki's `_cms.ts`.

Expand All @@ -89,3 +95,15 @@ In your markdown content files, [use Github-style "callout" codes](https://githu
> Negative potential consequences of an action.
```

Set edit to false in page frontmatter, to suppress the "Edit this Page" link:

```
---
title: My Cool Page
...
edit: false
...
---
# The main topic
Lorem ipsum...
```

0 comments on commit b45ce87

Please sign in to comment.