mirror of
				https://github.com/Brandon-Rozek/website.git
				synced 2025-10-29 21:31:12 +00:00 
			
		
		
		
	Redesigned postroll page
This commit is contained in:
		
							parent
							
								
									7d8d52451f
								
							
						
					
					
						commit
						1593953d48
					
				
					 2 changed files with 16 additions and 4 deletions
				
			
		|  | @ -4,4 +4,4 @@ description: Recently enjoyed blog posts | |||
| layout: postroll | ||||
| --- | ||||
| 
 | ||||
| Inspired by [Jedda's Postroll](https://notes.jeddacp.com/postroll/), here is a rolling list of 30 blog posts that I've recently read and enjoyed. This list refreshes daily. | ||||
| Inspired by [Jedda's Postroll](https://notes.jeddacp.com/postroll/), here is an incomplete list of blog posts that I've read and enjoyed in the last 3 months. This list refreshes daily. | ||||
|  | @ -13,11 +13,23 @@ | |||
|     {{ end }} | ||||
| 
 | ||||
|     {{ with $items.Ok }}{{ range . }} | ||||
|         <div style="text-align: left;"> | ||||
|         <p><a href="{{ .url }}"><strong style="font-size: 1.6rem;">{{ .title }}</strong></a> by {{ .author }}</p> | ||||
|         <p>{{ .comment }}</p> | ||||
|         <div class="postroll-item" style="text-align: left;"> | ||||
|           <p><a href="{{ .url }}"><strong style="font-size: 1.7rem;">{{ .title }}</strong></a> by <span class="postroll-author">{{ .author }}</span></p> | ||||
|           <p>{{ .comment }}</p> | ||||
|           <p>Added: <span class="postroll-date"> {{ .dateadded }} </span></p> | ||||
|         </div> | ||||
|         <hr/> | ||||
|     {{ end }}{{ end }} | ||||
|     <style> | ||||
|       .postroll-item { | ||||
|         margin-top: 2rem; | ||||
|         margin-bottom: 2rem; | ||||
|         text-align: left; | ||||
|       } | ||||
|       .postroll-author, .postroll-date { | ||||
|         color: #800000; | ||||
|       } | ||||
|     </style> | ||||
|   </article> | ||||
| </main> | ||||
| {{ end }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue