merge DrupalDoesNotExists/main

This commit is contained in:
Hanwen Guo 2023-02-06 13:48:13 +08:00
commit c726a0c8b1
2 changed files with 3 additions and 9 deletions

View File

@ -62,6 +62,7 @@ hr {
pre { pre {
background: black; background: black;
padding: 1em; padding: 1em;
overflow-x: auto; /* Fix pre content overflowing parent without scroll bar */
} }
table { width: 100%; } table { width: 100%; }
@ -74,7 +75,7 @@ table, th, td {
code { code {
color: white; color: white;
background: black; /*background: black; <-- Remove awful black background for code text*/
font-size: 80%; font-size: 80%;
padding: 0.1em 0.2em; padding: 0.1em 0.2em;
font-size: 90%; font-size: 90%;

View File

@ -13,14 +13,7 @@
{{- end -}} {{- end -}}
{{- if $item.post_list -}} {{- if $item.post_list -}}
{{ partial "post_list.html" (dict {{ partial "post_list.html" (dict "context" . "section" $item.post_list.section "limit" $item.post_list.limit "show_more" $item.post_list.show_more "show_more_text" $item.post_list.show_more_text "show_more_url" $item.post_list.show_more_url) -}}
"context" .
"section" $item.post_list.section
"limit" $item.post_list.limit
"show_more" $item.post_list.show_more
"show_more_text" $item.post_list.show_more_text
"show_more_url" $item.post_list.show_more_url
) -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
</ul> </ul>