Skip to content

Commit

Permalink
Updated layout on post, more clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeygore committed Oct 12, 2023
1 parent 423e5c3 commit f541664
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
7 changes: 5 additions & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified .jekyll-metadata
Binary file not shown.
30 changes: 12 additions & 18 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,21 @@
layout: bare
---

<nav aria-label="breadcrumb">
<ol class="breadcrumb bg-transparent">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item"><a href="/blog">Blog</a></li>
<li class="breadcrumb-item active">{{ page.title }}</li>
</ol>
</nav>
<!--<nav aria-label="breadcrumb align-content-center">-->
<!-- <ol class="breadcrumb bg-transparent">-->
<!-- <li class="breadcrumb-item"><a href="/">Home</a></li>-->
<!-- <li class="breadcrumb-item"><a href="/blog">Blog</a></li>-->
<!-- <li class="breadcrumb-item active">{{ page.title }}</li>-->
<!-- </ol>-->
<!--</nav>-->
<div class="text-center">
<div class="post-title">
{{ page.title }}
</div>

<div class="post-title">
{{ page.title }}
<span class="breadcrumb-item text-center">{{ page.date | date: '%B %d, %Y' }} • {% include readingtime.erb page_content=page.content %}</span>
</div>
<p>
<span class="breadcrumb-item">{{ page.date | date: '%B %d, %Y' }} • {% include readingtime.erb page_content=page.content %}</span>
<p></p>

<div id="share-page" class="pb-2">
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.author.twitter }}&related={{ site.author.twitter }}" rel="nofollow" target="_blank" title="Liked? Share on Twitter" style="color: #33B2FF;">
Share
<i class="bi bi-twitter"></i>
</a>
</div>
<div class="pb-4">
{{ content }}
</div>
Expand Down
9 changes: 5 additions & 4 deletions assets/css/override.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ blockquote p {
}

.breadcrumb-item {
font-size: 0.9em;
font-size: 0.8em;
line-height: 1.1em;
text-align: center;
}

.footnote {
Expand Down Expand Up @@ -160,10 +161,10 @@ h6, h4, h2, h3, h5 {
}

.post-title {
font-family:sans-serif;
font-size: 1.9em;
font-family:"Lora", serif;
font-size: 3em;
line-height: 1.2em;
font-weight:800;
font-weight:600;
}
.post-title-small {
font-family: "Source Sans 3", sans-serif;
Expand Down

0 comments on commit f541664

Please sign in to comment.