github.com/EngineerKamesh/gofullstack@v0.0.0-20180609171605-d41341d7d4ee/volume3/section4/gopherface/templates/socialmediapost.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link rel="stylesheet" type="text/css" href="/static/css/gopherface.css" /> 5 </head> 6 <body> 7 <h1>Social Media Post Example</h1> 8 9 <div class="smpostContainer"> 10 11 <div class="caption"> 12 {{.Caption}} 13 </div> 14 15 <div class="author"> 16 <br/> 17 <span class="createdby">{{.CreatedBy}} {{.AuthorMoodEmoji}}</span><br/> 18 <span class="creationtime">{{.TimeCreated}}</span> 19 </div> 20 21 <div class="imagePreview"> 22 <a target="_blank" href="{{.URL}}"><img src="{{.ImageURI}}"></a> 23 </div> 24 25 <div class="msgBody"> 26 {{.MessageBody}} 27 </div> 28 29 30 31 </div> 32 33 34 </body> 35 </html>