.BriefDescription {{ .Image {% img src = "images / elephant.jpg" width = "240" height = "181" {}} .Description { .Date {August 10} % p {In this plate we write a brief annotation about the article. This will allow site visitors to understand what is at stake.} % p {Must be immediately determined and the size of the photo. It is necessary to firmly fix the width (I propose to use the one that is now) and the height of the photo can change without affecting the appearance of the page. And without a photo on the inside it will be bad - the design was originally designed to receive inf. and fast loading.} % a href = "#" {read fully ...} } .Clear {} }}
<div class = "BriefDescription"> <div class = "BriefDescriptionInside0"> <div class = "Image"> <img src = "images / elephant.jpg" width = "240" height = "181" /> </ div> <div class = "Description"> <div class = "Date"> August 10 </ div> <p> In this panel we write a brief annotation about the article. This will allow site visitors to understand what is at stake. </ P> <p> It should be immediately determined and the size of the photo. It is necessary to firmly fix the width (I propose to use the one that is now) and the height of the photo can change without affecting the appearance of the page. And without a photo on the inside will be bad - Initially, the design is oriented to receive. inf. and fast loading. </ p> <a href="#"> read full ... </a> </ div> <! - .Description -> <div class = "Clear"> </ div> </ div> </ div>
%p.Preved{content}
means <p class="Preved">content</p>
.#news_archive { .News {% p {news}} }
<div id = "news_archive"> <div class = "News"> <p> news </ p> </ div> </ div>
Source: https://habr.com/ru/post/13723/
All Articles