Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
add in social media section
- Loading branch information
1 parent
84c73b9
commit 3176105
Showing
13 changed files
with
135 additions
and
6 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,6 @@ | |
| <nav class="col-4"> | ||
| <a href="/">Home</a> | ||
| <a href="/blog">Blog</a> | ||
| <a href="/social">Posts</a> | ||
| </nav> | ||
| </header> | ||
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,19 @@ | ||
| {% for post in site.social-posts limit:5 %} | ||
| <div class="post col-12 grid"> | ||
| <div class="col-6_sm-12-middle image-container"> | ||
| <a href="{{ post.url }}"><img class="post-image" src="{{post.image}}"></a> | ||
| </div> | ||
| <div class="side col-6_sm-12"> | ||
| <h2><a href="{{ post.url }}" class="title-link">{{ post.title }}</a></h2> | ||
| <p class="date">{{ post.date | date: "%b %d, %Y" }}</p> | ||
| <p class="excerpt">{{ post.excerpt }}</p> | ||
| <div class="cats"> | ||
| {% for category in post.categories %} | ||
| <!--<a href="/category/{{ category | slugize }}/">#{{ category }}</a>--> | ||
| #{{ category }} | ||
| {% endfor %} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {% endfor %} | ||
|
|
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,12 @@ | ||
| --- | ||
| layout: default | ||
| --- | ||
| <main class="post"> | ||
| {% include page-header.html %} | ||
|
|
||
| <div class="content"> | ||
| {{content}} | ||
| </div> | ||
| </main> | ||
|
|
||
| {% include footer.html %} |
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,23 @@ | ||
| --- | ||
| layout: social-post | ||
| type: "SocialPosts" | ||
| title: "CSS: Background Attachment" | ||
| image: /assets/images/background-attachment.png | ||
| excerpt: "A CSS property of background-attachment: fixed allows you create a cool effect of a scrolling window over content" | ||
| --- | ||
| {:.center} | ||
| # {{ page.title }} | ||
|
|
||
|
|
||
| {:.post-content} | ||
| A CSS property of background-attachment: fixed allows you create a cool effect | ||
| of a scrolling window over content. This way you can create graceful transitions | ||
| over content. Check out on our [codepen](https://codepen.io/the_dev_diaries/pen/RvBMPV) | ||
| to see it in action. | ||
|
|
||
|
|
||
| {:.image .center} | ||
|  | ||
|
|
||
| {:.center} | ||
| <a href="https://www.instagram.com/p/Buk6AuBHRRN/" target="_blank">Instagram Post</a> |
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,22 @@ | ||
| --- | ||
| layout: social-post | ||
| type: "SocialPosts" | ||
| title: "Terminal: Reverse Terminal Search" | ||
| image: /assets/images/reverse-terminal-search.gif | ||
| excerpt: "Reverse terminal search: reverse-i-search: Press the ctrl key and the r key simultaneously. A prompt will appear that will allow you to search from your history." | ||
| --- | ||
| {:.center} | ||
| # {{ page.title }} | ||
|
|
||
|
|
||
| {:.post-content} | ||
| Reverse terminal search: reverse-i-search: Press the ctrl key and the r key | ||
| simultaneously. A prompt will appear that will allow you to search from your | ||
| history. You’ll see the latest command from your history that matches your | ||
| search term. Read more about it [here](https://codeburst.io/use-reverse-i-search-to-quickly-navigate-through-your-history-917f4d7ffd37) | ||
|
|
||
| {:.image .center} | ||
|  | ||
|
|
||
| {:.center} | ||
| <a href="https://www.instagram.com/p/BumEjZ_Hvy3/" target="_blank">Instagram Post</a> |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,18 @@ | ||
| --- | ||
| layout: default | ||
| title: Social Media | ||
| --- | ||
|
|
||
| <main> | ||
| {% include page-header.html %} | ||
|
|
||
| <h1 class="post-header">Social Media Posts</h1> | ||
|
|
||
| <div class="posts"> | ||
| {% include social-media-posts.html %} | ||
| </div> | ||
|
|
||
| </main> | ||
|
|
||
| {% include footer.html %} | ||
|
|