css improvement for dt; remove obsolete stuff from 'embed' shortcode
This commit is contained in:
		
							parent
							
								
									5326e4f7b4
								
							
						
					
					
						commit
						37e0403772
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		|  | @ -21,6 +21,10 @@ blockquote { | |||
| 	border-left: 0.7rem solid $gray-200; | ||||
| } | ||||
| 
 | ||||
| dt { | ||||
| 	margin-top: 8px; | ||||
| } | ||||
| 
 | ||||
| dd { | ||||
| 	margin-bottom: 0; | ||||
| 	margin-left: 1rem; | ||||
|  |  | |||
|  | @ -1,12 +1,7 @@ | |||
| {{- $pid := or (.Get "pid") (.Get "page") -}} | ||||
| {{- $this := $.Page -}} | ||||
| {{- $title := .Get "title" -}} | ||||
| {{- $linkid := or ($this.Scratch.Get "linkid") 1 -}} | ||||
| {{- $this.Scratch.Set "linkid" (add $linkid 1) -}} | ||||
| {{- $pages := where .Site.RegularPages "Params.pageid" "eq" $pid -}} | ||||
| {{- $btext := or (.Get "btext") (printf "%d" $linkid) -}} | ||||
| {{- $btitle := .Get "btitle" -}} | ||||
| {{- $anchor := printf "link-%d" $linkid -}} | ||||
| {{- range $pages -}} | ||||
|   {{- if ne $title "none" -}} | ||||
| ### [{{ or $title .Title }}]({{ .Permalink }})  | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue