[MIG] Migration from PorteAil to hugo-portal
This commit is contained in:
		
							
								
								
									
										7
									
								
								layouts/shortcodes/button.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								layouts/shortcodes/button.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
<a class="cadre" href="{{ .Get "href" }}" title="{{ .Get "title" }}">
 | 
			
		||||
  <span class="element">
 | 
			
		||||
    {{ .Get "title" }} <br />
 | 
			
		||||
    
 | 
			
		||||
    <img src="img/{{ if .Get "src"}}{{ .Get "src" }}{{ else }}{{ .Page.Site.Params.default_img }}{{ end }}" alt="{{ .Get "title" }} icon" title="{{ .Get "title" }}" />
 | 
			
		||||
  </span>
 | 
			
		||||
</a>
 | 
			
		||||
		Reference in New Issue
	
	Block a user