Skip to content

Commit

Permalink
content(fix): inline html removed
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Nov 13, 2022
1 parent 1660fcf commit dc7eaf3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 142 deletions.
31 changes: 0 additions & 31 deletions content/components/hugo-feeds/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,36 +43,6 @@ Find out more about the [RSS](https://cyber.harvard.edu/rss/rss.html), [Atom](ht
- [ ] partial to output list of available feeds on your website
- [ ] proper testing, validation and dev-site

<!--- INSTALLUPDATE BEGIN --->

## Installing

First enable modules in your own repository:

```bash
hugo mod init github.com/username/reponame
```

Then add this module to your required modules in config.toml.

```toml
[module]

[[module.imports]]
path = "$MODULENAME$"
```

The next time you run `hugo` it will download the latest version of the module.

## Updating

```shell
# update this module
hugo mod get -u $REPONAME$
# update all modules
hugo mod get -u #
```
<!--- INSTALLUPDATE END --->

## Configuration

Expand Down Expand Up @@ -113,7 +83,6 @@ Have a read through [@zbetz](https://github.com/zwbetz-gh)'s great article [Disc

`hugo-feeds` implements template hooks via [`hugo-hooks`](https://github.com/davidsneighbour/hugo-hooks) and makes the following hooks available:

<!-- prettier-ignore -->
| Hook | Description |
| --- | :--- |
| feeds-init | Hooks in after the opening tag. Do not open this to output anything. Just for initialising any of your plugins. |
Expand Down
1 change: 0 additions & 1 deletion content/components/hugo-head/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ placename = ""

`hugo-head` implements template hooks via [`hugo-hooks`](https://github.com/davidsneighbour/hugo-hooks) and provides the following hooks:

<!-- prettier-ignore -->
{{< div class="table--hooks" >}}
| Hook | Description |
| --- | :--- |
Expand Down
37 changes: 0 additions & 37 deletions content/components/hugo-hooks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,43 +37,6 @@ You name it. `hugo-hooks` is what you need. This module adds these hooks to your

{{< component-box >}}

<!--- INSTALLUPDATE BEGIN --->

## Installing

First enable modules in your own repository if you did not already have done so:

```bash
hugo mod init github.com/username/reponame
```

Then add this module to your required modules in `config.toml`.

```toml
[module]

[[module.imports]]
path = "github.com/davidsneighbour/hugo-hooks"
disable = false
ignoreConfig = false
ignoreImports = false

```

The next time you run `hugo` it will download the latest version of the module.

## Updating

```bash
# update this module
hugo mod get -u github.com/davidsneighbour/hugo-hooks
# update to a specific version
hugo mod get -u github.com/davidsneighbour/[email protected]
# update all modules recursively over the whole project
hugo mod get -u ./...
```
<!--- INSTALLUPDATE END --->

## Hook principle

Theme users save hooks to the `layouts/partials/hooks` directory. There are no errors if a hook is not found (some themes or modules might provide a feedback if their hook is unused and usage of them is required to get important features working).
Expand Down
36 changes: 0 additions & 36 deletions content/components/hugo-pwa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,42 +44,6 @@ This is work in progress and while many parts are already working, some changes
- :x: improve configuration of implemented functionality in the service worker
- :x: add detailed documentation for all configuration options

<!--- INSTALLUPDATE BEGIN --->

## Installing

First enable modules in your own repository if you did not already have done so:

```bash
hugo mod init github.com/username/reponame
```

Then add this module to your required modules in `config.toml`.

```toml
[module]

[[module.imports]]
path = "github.com/davidsneighbour/github.com/davidsneighbour/hugo-pwa"
disable = false
ignoreConfig = false
ignoreImports = false

```

The next time you run `hugo` it will download the latest version of the module.

## Updating

```bash
# update this module
hugo mod get -u github.com/davidsneighbour/github.com/davidsneighbour/hugo-pwa
# update to a specific version
hugo mod get -u github.com/davidsneighbour/github.com/davidsneighbour/[email protected]
# update all modules recursively over the whole project
hugo mod get -u ./...
```
<!--- INSTALLUPDATE END --->

## Configuration

Expand Down
37 changes: 0 additions & 37 deletions content/components/hugo-security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,43 +35,6 @@ This module DOES NOT make your website more secure. Just in case you were assumi

{{< component-box >}}

<!--- INSTALLUPDATE BEGIN --->

## Installing

First enable modules in your own repository if you did not already have done so:

```bash
hugo mod init github.com/username/reponame
```

Then add this module to your required modules in `config.toml`.

```toml
[module]

[[module.imports]]
path = "github.com/davidsneighbour/github.com/davidsneighbour/hugo-security"
disable = false
ignoreConfig = false
ignoreImports = false

```

The next time you run `hugo` it will download the latest version of the module.

## Updating

```bash
# update this module
hugo mod get -u github.com/davidsneighbour/github.com/davidsneighbour/hugo-security
# update to a specific version
hugo mod get -u github.com/davidsneighbour/github.com/davidsneighbour/[email protected]
# update all modules recursively over the whole project
hugo mod get -u ./...
```
<!--- INSTALLUPDATE END --->

### Usage

Install this plugin, then add your configuration to `params.dnb.security.txt`. The following configuration parameters are available and correspond to the [values in security.txt](https://securitytxt.org/#genform):
Expand Down

0 comments on commit dc7eaf3

Please sign in to comment.