Skip to content

Commit

Permalink
Update og image
Browse files Browse the repository at this point in the history
  • Loading branch information
MinSeungHyun committed Jan 6, 2024
1 parent d983b65 commit e93c7ff
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 25 deletions.
6 changes: 5 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

<link rel="icon" href="{{ site.baseurl }}/assets/images/logo.png">

<title>{{ page.title }} | {{ site.name }}</title>
{% if page.title %}
<title>{{ page.title }} | {{ site.name }}</title>
{% else %}
<title>{{ site.name }}</title>
{% endif %}

{% comment %} Favicon {% endcomment %}
<link
Expand Down
Binary file added assets/images/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 29 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,61 +1,66 @@
---
layout: default
title: Home
image: 'assets/images/og-image.png'
---

{% if page.url == "/" %}

<!-- Featured
================================================== -->
<section class="featured-posts">
<!-- Featured
================================================== -->
<section class="featured-posts">
<div class="section-title">
<h2><span>Featured</span></h2>
<h2>
<span>Featured</span>
</h2>
</div>
<div class="row">

{% for post in site.posts %}
{% for post in site.posts %}

{% if post.featured == true %}

{% include featuredbox.html %}
{% include featuredbox.html %}

{% endif %}

{% endfor %}
{% endfor %}

</div>
</section>
</section>

{% endif %}

<!-- Posts Index
================================================== -->
================================================== -->
<section class="recent-posts">

<div class="section-title">
<div class="section-title">

<h2><span>All Stories</span></h2>
<h2>
<span>All Stories</span>
</h2>

</div>
</div>

<div class="row listrecent">
<div class="row listrecent">

{% for post in paginator.posts %}
{% for post in paginator.posts %}

{% include postbox.html %}
{% include postbox.html %}

{% endfor %}
{% endfor %}

</div>
</div>

</section>

<!-- Pagination
================================================== -->
================================================== -->
<div class="bottompagination">
<div class="pointerup"><i class="fa fa-caret-up"></i></div>
<span class="navigation" role="navigation">
<div class="pointerup">
<i class="fa fa-caret-up"></i>
</div>
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>

</span>
</div>

0 comments on commit e93c7ff

Please sign in to comment.