Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Özgür Ozan Sen
ogs
Commits
d189ffc3
Verified
Commit
d189ffc3
authored
2 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[web] Fixed instructions for creating new pages with `hugo new`.
parent
7f9f4ee3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/archetypes/default.md
+2
-2
2 additions, 2 deletions
web/archetypes/default.md
web/content/docs/devguide/development-workflows/web-docs/index.md
+1
-1
1 addition, 1 deletion
...ent/docs/devguide/development-workflows/web-docs/index.md
with
3 additions
and
3 deletions
web/archetypes/default.md
+
2
−
2
View file @
d189ffc3
+++
title
:
"{{ replace .Name "-" " " | title }}"
date
:
{{ .Date }}
title
=
"{{ replace .Name "-" " " | title }}"
date
=
{{ .Date }}
+++
This diff is collapsed.
Click to expand it.
web/content/docs/devguide/development-workflows/web-docs/index.md
+
1
−
1
View file @
d189ffc3
...
...
@@ -39,7 +39,7 @@ As you make modifications to the site it will be rebuild and the page in the bro
By using
`hugo new`
you can create a new page with the correct frontmatter for that kind of page:
```
bash
hugo new docs/benchmarks/elliptic/groundwater-flow-dirichlet/index.md
hugo new
--kind
benchmark
docs/benchmarks/elliptic/groundwater-flow-dirichlet/index.md
```
-
path is relative to
`content/`
and determines the URL of the page
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment