-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:guardian/frontend into de-ts
# Conflicts: # grunt-configs/shell.js # npm-shrinkwrap.json # package.json
- Loading branch information
Showing
48 changed files
with
761 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@(model: ArticlePage)(implicit request: RequestHeader) | ||
|
||
@main(model){ | ||
}{ | ||
@fragments.articleBodyHeroic(model) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@(model: ArticlePage, amp: Boolean = false)(implicit request: RequestHeader) | ||
|
||
@import common.LinkTo | ||
@import views.BodyCleaner | ||
@import views.support.TrailCssClasses.toneClass | ||
|
||
@defining(model.article) { article => | ||
<div class="l-side-margins"> | ||
<article id="article" data-test-id="article-root" | ||
class="content content--article" | ||
itemscope itemtype="@article.metadata.schemaType" role="main"> | ||
<meta itemprop="mainEntityOfPage" content="@LinkTo(article.metadata.url)"> | ||
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> | ||
<meta itemprop="name" content="The Guardian"> | ||
<link itemprop="sameAs" href="http://www.theguardian.com"> | ||
</div> | ||
|
||
@fragments.headerImmersive(article) | ||
|
||
<div class="content__main"> | ||
<div class="gs-container"> | ||
<div class="content__main-column content__main-column--article js-content-main-column"> | ||
<div class="content__article-body from-content-api js-article__body" itemprop="articleBody"> | ||
@BodyCleaner(article, article.fields.body, amp = amp) | ||
</div> | ||
<div class="after-article js-after-article"></div> | ||
</div> | ||
<div class="content__secondary-column js-secondary-column" aria-hidden="true"> | ||
<div class="ad-slot-container js-ad-slot-container"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</article> | ||
|
||
@if(article.content.tags.isLabourLiverpoolSeries) { | ||
@fragments.labourLiverpoolContact() | ||
} | ||
|
||
@fragments.contentFooter(article, model.related) | ||
|
||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.