Browse Source

modified portfolio section

tags/v1.0.0
Themefisher Dev 4 years ago
parent
commit
a9f46adfcd
3 changed files with 7 additions and 4 deletions
  1. 2
    2
      layouts/_default/single.html
  2. 2
    2
      layouts/partials/blog.html
  3. 3
    0
      layouts/partials/head.html

+ 2
- 2
layouts/_default/single.html View File

<div class="col-lg-8 offset-lg-2 text-center"> <div class="col-lg-8 offset-lg-2 text-center">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<ul class="list-inline mb-50"> <ul class="list-inline mb-50">
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author }}</a></li>
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li>
<li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li> <li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li>
</ul> </ul>
<img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image"> <img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image">
</div> </div>
</section> </section>


{{ end }}
{{ end }}

+ 2
- 2
layouts/partials/blog.html View File

</div> </div>
{{"<!-- /section title -->" | safeHTML}} {{"<!-- /section title -->" | safeHTML}}


{{ range first 3 .Site.RegularPages }}
{{ range first 3 (where .Site.RegularPages "Section" "==" "blog")}}
{{ .Render "article"}} {{ .Render "article"}}
{{ end }} {{ end }}


</div> </div>
</section> </section>
{{"<!-- /blog -->" | safeHTML}} {{"<!-- /blog -->" | safeHTML}}
{{ end }}
{{ end }}

+ 3
- 0
layouts/partials/head.html View File

{{ $styles := resources.Get "css/style.css" | minify}} {{ $styles := resources.Get "css/style.css" | minify}}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen"> <link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">


{{"<!-- Custom stylesheet - for your changes -->" |safeHTML}}
<link rel="stylesheet" href="{{ "css/custom.css" | relURL}} " media="screen">

{{ "<!--Favicon-->" | safeHTML }} {{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> <link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">

Loading…
Cancel
Save