-
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
dc7eaf3
commit 795bb9a
Showing
23 changed files
with
121 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"url": "https://api.github.com/repos/davidsneighbour/hugo-auditor/releases/83114033", | ||
"assets_url": "https://api.github.com/repos/davidsneighbour/hugo-auditor/releases/83114033/assets", | ||
"upload_url": "https://uploads.github.com/repos/davidsneighbour/hugo-auditor/releases/83114033/assets{?name,label}", | ||
"html_url": "https://github.com/davidsneighbour/hugo-auditor/releases/tag/v1.0.0", | ||
"id": 83114033, | ||
"author": { | ||
"login": "davidsneighbour", | ||
"id": 83281, | ||
"node_id": "MDQ6VXNlcjgzMjgx", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/83281?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/davidsneighbour", | ||
"html_url": "https://github.com/davidsneighbour", | ||
"followers_url": "https://api.github.com/users/davidsneighbour/followers", | ||
"following_url": "https://api.github.com/users/davidsneighbour/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/davidsneighbour/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/davidsneighbour/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/davidsneighbour/subscriptions", | ||
"organizations_url": "https://api.github.com/users/davidsneighbour/orgs", | ||
"repos_url": "https://api.github.com/users/davidsneighbour/repos", | ||
"events_url": "https://api.github.com/users/davidsneighbour/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/davidsneighbour/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
}, | ||
"node_id": "RE_kwDOGc7jTM4E9Dgx", | ||
"tag_name": "v1.0.0", | ||
"target_commitish": "main", | ||
"name": "v1.0.0", | ||
"draft": false, | ||
"prerelease": false, | ||
"created_at": "2022-11-15T11:45:13Z", | ||
"published_at": "2022-11-15T11:46:22Z", | ||
"assets": [ | ||
|
||
], | ||
"tarball_url": "https://api.github.com/repos/davidsneighbour/hugo-auditor/tarball/v1.0.0", | ||
"zipball_url": "https://api.github.com/repos/davidsneighbour/hugo-auditor/zipball/v1.0.0", | ||
"body": "" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
title: Auditor | ||
linktitle: hugo-auditor | ||
description: This module is a component for GoHugo that adds auditing tools to your | ||
development website. | ||
|
||
date: 2022-11-15T15:04:51+07:00 | ||
publishDate: 2022-11-15T15:04:51+07:00 | ||
lastmod: 2022-11-15T15:04:52+07:00 | ||
|
||
resources: | ||
- src: header-card.png | ||
|
||
categories: | ||
- components | ||
|
||
tags: | ||
- gohugo | ||
- component | ||
- development | ||
|
||
component: | ||
slug: hugo-auditor | ||
host: github.com | ||
user: davidsneighbour | ||
status: release | ||
list: true | ||
--- | ||
|
||
# GoHugo Component / Auditor | ||
|
||
This module is a component for [GoHugo](https://gohugo.io) that adds auditing tools to your development website. It is not thought for use in a live deployment. It is work in progress. | ||
|
||
## Headers CT | ||
|
||
See [CT.css](https://github.com/csswizardry/ct) for details. Enable this feature only on development setup to see information about optimisation approaches for your header tag order. | ||
|
||
```toml | ||
[params.dnb.auditor] | ||
ct = true | ||
``` | ||
|
||
then add somewhere in the footer of your base template: | ||
|
||
```gotemplate | ||
{{- partialCached "ct/ct.html" . -}} | ||
``` | ||
|
||
## Create a JSON file with list of all created URLs | ||
|
||
Add output type to `outputs` section in your config: | ||
|
||
```toml | ||
home = ["dnblinklist" ] | ||
``` | ||
|
||
After creation of the site there is a JSON file available at `/links.json` ([http://localhost:1313/links.json](http://localhost:1313/links.json)) containing all created links. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 +1,4 @@ | ||
{ | ||
"version": "2022.8.57", | ||
"version": "2022.8.58", | ||
"repository": "https://github.com/davidsneighbour/kollitsch.dev" | ||
} |
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
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
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