Adds option for description

This commit is contained in:
Ketan Gupta
2017-06-15 17:20:33 +05:30
parent 9958e0c283
commit 88ac6f6a31
2 changed files with 7 additions and 2 deletions

View File

@ -25,7 +25,11 @@
<meta property="og:type" content="{% if page.excerpt %}article{% else %}website{% endif %}" />
<meta property="og:url" content="{{ site.url }}{{ page.url }}/" />
<meta property="og:image" content="{{ site.url }}/images/{% if page.image %}posts/{{page.image}}{% else %}posts/main-building.jpg{% endif %}" />
<meta property="og:description" content="{{ desc }}" />
{% if page.description != null %}
<meta property="og:description" content="{{ page.description }}" />
{% else %}
<meta property="og:description" content="{{ desc }}" />
{% endif %}
<!-- Open Graph protocol -->
<!-- Facebook tags -->

View File

@ -4,6 +4,7 @@ title: "The Ultimate Freshman's Guide to IIT Roorkee"
tags: [wona]
category: academics
image: freshman-guide.jpg
description: The complete, wholesome and perfect reference book to IIT Roorkee!
---
College has a lot to offer, which is probably why you feel a little clueless and intimidated right now. You might wake up in the morning every other day and feel a little nauseated and dizzy, even though your amazing mental strength got you through one of the toughest examination of the world. And thats alright!
@ -12,4 +13,4 @@ Watch Out brings to you the painful yet insanely awesome realities of college li
<br/><br/>
We have all the answers, so dive in!
<br/><br/>
<a href="/FreshmanGuidetoIITR.pdf" style="text-align: center"><button type="button" class="btn btn-primary btn-block btn-lg">The complete, wholesome and perfect reference book to IIT Roorkee!</button></a>
<a href="/FreshmanGuidetoIITR.pdf" style="text-align: center"><button type="button" class="btn btn-primary btn-block btn-lg">Download the guide here!</button></a>