Added link to specific blog post in title.
This commit is contained in:
parent
2e54f109eb
commit
fc1e62821d
@ -4,7 +4,7 @@
|
||||
{{post.created_timestamp | simpledate}}
|
||||
</div>
|
||||
<div class="post-title">
|
||||
{{getPostTitle()}}
|
||||
<a routerLink="../post/{{post.id}}">{{getPostTitle()}}</a>
|
||||
</div>
|
||||
<div class="post-tags">
|
||||
<div class="post-tag" *ngFor="let tag of post.tags">
|
||||
|
||||
@ -17,6 +17,10 @@
|
||||
flex-grow: 1;
|
||||
font-size: 200%;
|
||||
font-style: italic;
|
||||
|
||||
a {
|
||||
color: #212529 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.post-date {
|
||||
|
||||
@ -65,8 +65,10 @@ export class RootComponent implements OnInit {
|
||||
this.pageType = 'Curriculum Vitae';
|
||||
} else if (this.router.url.endsWith('home')) {
|
||||
this.pageType = 'Home';
|
||||
} else if (this.router.url.indexOf("post")!=-1) {
|
||||
} else if (this.router.url.endsWith('posts')) {
|
||||
this.pageType = 'Blog';
|
||||
} else if (this.router.url.indexOf("post")!=-1) {
|
||||
this.pageType = 'Blog post';
|
||||
} else if (this.router.url.indexOf("contact")!=-1) {
|
||||
this.pageType = 'Contact';
|
||||
} else {
|
||||
|
||||
@ -1,11 +1,8 @@
|
||||
<p>It's been on my mind for a while now to create an oldschool homepage. So, here it is. An homage to the old and
|
||||
tried
|
||||
Web 1.0, whoever thought static web pages were done and dusted is <em>wrong</em>! This will be a collection of some
|
||||
technical things I want to remind myself about so I don't have to look them up again and again, miscellaneous
|
||||
pictures
|
||||
of projects (in-progress or done) or anything that comes to mind I'd like to share on something other than the usual
|
||||
social media suspects.</p>
|
||||
tried Web 1.0, whoever thought static web pages were done and dusted is <em>wrong</em>! This will be a collection of
|
||||
some technical things I want to remind myself about so I don't have to look them up again and again, miscellaneous
|
||||
pictures of projects (in-progress or done) or anything that comes to mind I'd like to share on something other than
|
||||
the usual social media suspects.</p>
|
||||
|
||||
<p>Besides, it's nice to have a minimalistic Angular2/Bootstrap playground to do some styling experiments. I'll
|
||||
probably update
|
||||
this thing once in a while. Maybe even use a database, wouldn't <em>that</em> be something...</p>
|
||||
probably update this thing once in a while. Maybe even use a database, wouldn't <em>that</em> be something...</p>
|
||||
|
||||
@ -8,4 +8,5 @@
|
||||
</p>
|
||||
|
||||
<p>Trouwens, het is ook leuk om gewoon een minimalistische Angular2/Bootstrap speeltuin te hebben om wat experimenten op
|
||||
uit te voeren. Dingen proberen, stijlen stelen, ... Ik zal dit ding waarschijnlijk wel af en toe een keer updaten. Misschien zelfs een database gebruiken, zou <em>dat</em> niet wat zijn...</p>
|
||||
uit te voeren. Dingen proberen, stijlen stelen, ... Ik zal dit ding waarschijnlijk wel af en toe een keer updaten.
|
||||
Misschien zelfs een database gebruiken, zou <em>dat</em> niet wat zijn...</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user