mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
Remove headings from note and warning entirely
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
{{partial "svg-icons/exclamation.svg" .}}
|
||||
</div>
|
||||
<!-- <h2 id="{{if .Get 0}}{{.Get 0 | urlize}}{{else}}note{{end}}">{{if .Get 0}}{{.Get 0 | markdownify}}{{else}}Note{{end}}</h2> -->
|
||||
<h3>Note</h3>
|
||||
<!-- <h3>Note</h3> -->
|
||||
<div class="admonition-content">{{- .Inner -}}</div>
|
||||
</div>
|
||||
@@ -3,6 +3,6 @@
|
||||
{{partial "svg-icons/exclamation.svg" .}}
|
||||
</div>
|
||||
<!-- <h2 id="{{if .Get 0}}{{.Get 0 | urlize}}{{else}}warning{{end}}">{{if .Get 0}}{{.Get 0 | markdownify}}{{else}}Warning{{end}}</h2> -->
|
||||
<h3>Warning</h3>
|
||||
<!-- <h3>Warning</h3> -->
|
||||
<div class="admonition-content">{{- .Inner -}}</div>
|
||||
</div>
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -84,8 +84,10 @@ aside {
|
||||
margin: 0px;
|
||||
font-weight: bolder;
|
||||
margin-right: 1em;
|
||||
// background-color:$hugo-gray-ultra-light;
|
||||
code {
|
||||
font-size: .9em;
|
||||
// color:$hugo-pink;
|
||||
}
|
||||
//basically allows you to style with ***word*** in markdown for words like "Required"
|
||||
> strong > em > code {
|
||||
@@ -117,7 +119,7 @@ aside {
|
||||
right: 0em;
|
||||
}
|
||||
strong > code {
|
||||
color: $hugo-pink;
|
||||
color: $hugo-green;
|
||||
}
|
||||
strong:first-child > code {
|
||||
color: $hugo-blue;
|
||||
|
||||
Reference in New Issue
Block a user