Created
October 9, 2018 08:27
-
-
Save considine/006a1f5f5bd09512c28ffd83f1255b8b to your computer and use it in GitHub Desktop.
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
<ion-header> | |
<ion-toolbar> | |
<ion-buttons slot="start"> | |
<ion-menu-button></ion-menu-button> | |
</ion-buttons> | |
<ion-title> | |
Post Detail | |
</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content padding> | |
<div *ngIf="post$ | async as post"> | |
<h1 [innerHTML]="post.title.rendered"> </h1> | |
<p no-margin> <small> By {{post._embedded.author[0].name }} </small> </p> | |
<div text-center padding *ngIf="post.featured_image"> | |
<img class="featured_image" [src]="post.featured_image" alt="Featured Image"> | |
</div> | |
<div [innerHTML]="post.content.rendered"></div> | |
</div> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment