github.com/EngineerKamesh/gofullstack@v0.0.0-20180609171605-d41341d7d4ee/volume3/section5/gopherface/templates/gopherprofile_content.html (about)

     1  <h1>{{.PageTitle}}</h1>
     2  
     3  <div class="formContainer">
     4  
     5  
     6  <div id="gopherProfileContainer">
     7  
     8  	<div id="gopherPhoto">
     9  		{{if eq .ProfileImagePath ""}}
    10  		<img id="profileImage" src="/static/images/gogopher.png" height="180" >
    11  		{{else}}
    12  		<img id="profileImage" src="{{.ProfileImagePath}}" height="180" >
    13  		{{end}}
    14  	</div>
    15  
    16  	<div id="gopherUsername">
    17  	<h1 class="gopherUsernameHeading">@{{.Username}}</h1>
    18  	</div>
    19  
    20  	<div id="gopherAbout">
    21  	<h2>About</h2>
    22  	{{.About}}
    23  	</div>
    24  
    25  	<div id="gopherLocation">
    26  	<h2>Location</h2>
    27  	{{.Location}}
    28  	</div>
    29  
    30  	<div id="gopherInterests">
    31  	<h2>Interests</h2>
    32  	{{.Interests}}
    33  	</div>
    34  
    35  </div>
    36  
    37  <div id="feedContainer">
    38  
    39  </div>
    40  
    41  <div id="followingContainer">
    42  
    43  </div>
    44