{{!< default}}
{{#author}}
<div class="c-author-page">
- {{#if image}}
+ {{#if profile_image}}
<div class="c-author-page__image">
- <img class="c-author-page__image__src" src="{{image}}" alt="{{name}}'s Picture"/>
+ <img class="c-author-page__image__src" src="{{img_url profile_image}}" alt="{{name}}'s Picture"/>
</div>
{{/if}}
"name": "Raivis Vitols",
"url": "https://raivis.com"
},
+ "engines": {
+ "ghost": ">=1.0.0"
+ },
+ "config": {
+ "posts_per_page": 9
+ },
"devDependencies": {
"grunt": "~1.0.1",
"grunt-sass": "~1.1.0",
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{meta_title}}</title>
-<meta name="description" content="{{meta_description}}" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
-<link rel="shortcut icon" href="{{asset "img/favicon.ico"}}" />
-<link rel="apple-touch-icon" href="{{asset "img/favicon.ico"}}" />
-
<link rel="stylesheet" type="text/css" href="{{asset "css/styles.css"}}" />
<link href="https://fonts.googleapis.com/css?family=Merriweather:400,700,700italic,400italic" rel="stylesheet">
{{#foreach posts}}
<article class="c-post-list__item {{post_class}}">
<a class="c-post-list__image" href="{{url}}" title="{{title}}">
- <img class="c-post-list__image__img" src="{{image}}" alt="{{title}}"/>
+ <img class="c-post-list__image__img" src="{{img_url feature_image}}" alt="{{title}}"/>
</a>
<h2 class="c-post-list__title">
{{#next_post}}
<article class="c-post-view-prev-next__item {{post_class}}">
<a class="c-post-view-prev-next__image" href="{{url}}" title="{{title}}">
- <img class="c-post-view-prev-next__image__img" src="{{image}}" alt="{{title}}"/>
+ <img class="c-post-view-prev-next__image__img" src="{{img_url feature_image}}" alt="{{title}}"/>
<span class="c-post-view-prev-next__image__label c-post-view-prev-next__image__label--next">
Next Post
</span>
{{#prev_post}}
<article class="c-post-view-prev-next__item {{post_class}}">
<a class="c-post-view-prev-next__image" href="{{url}}" title="{{title}}">
- <img class="c-post-view-prev-next__image__img" src="{{image}}" alt="{{title}}"/>
+ <img class="c-post-view-prev-next__image__img" src="{{img_url feature_image}}" alt="{{title}}"/>
<span class="c-post-view-prev-next__image__label c-post-view-prev-next__image__label--previous">
Previous Post
</span>
<div id="site-sidebar" class="c-site-sidebar">
{{! Sidebar header with blog cover and logo images }}
- <div class="c-sidebar-header" style="background-image: url({{@blog.cover}})">
+ <div class="c-sidebar-header" style="background-image: url({{@blog.cover_image}})">
<a class="c-sidebar-header__link" href="{{@blog.url}}" title="{{@blog.title}}">
<img class="c-sidebar-header__image" src="{{@blog.logo}}" alt="{{@blog.title}}">
</a>