mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
Fix overflow on file name for code block shortcode
This commit is contained in:
@@ -94,7 +94,7 @@ If you get an `EOF error` when using `hugo new`, add a carriage return after the
|
||||
|
||||
With an `archetypes/default.md` in place, we can use the CLI to create a new post in the `posts` content section:
|
||||
|
||||
{{% input "new-post-from-default-archetype.sh" %}}
|
||||
{{% input "new-post-from-default.sh" %}}
|
||||
```bash
|
||||
$ hugo new posts/my-new-post.md
|
||||
```
|
||||
@@ -140,7 +140,7 @@ categories = ""
|
||||
|
||||
With an `archetypes/posts.md` in place, we can use the CLI to create a new posts with custom `posts` metadata in the `posts` content section:
|
||||
|
||||
{{% input "new-post-from-custom-archetype.sh" %}}
|
||||
{{% input "new-post-from-custom.sh" %}}
|
||||
```bash
|
||||
$ hugo new posts/post-from-custom.md
|
||||
```
|
||||
|
||||
@@ -127,10 +127,10 @@ div.code-copy-header {
|
||||
span.filename {
|
||||
@include center;
|
||||
text-align: center;
|
||||
max-width: 60%;
|
||||
max-width: 70%;
|
||||
color: $code-filename-color;
|
||||
font-weight: 100;
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-family: $systemfonts;
|
||||
}
|
||||
[class^="icon-"] {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user