Skip to content

Commit

Permalink
saas
Browse files Browse the repository at this point in the history
  • Loading branch information
imswarnil committed May 29, 2024
1 parent 3d471d0 commit ea13763
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 359 deletions.
6 changes: 0 additions & 6 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@

<div class="sidebar">
<!-- Default sidebar content -->
<p>This is the default sidebar.</p>
</div>

{% include latest-posts.html %}
<div class="menu my-4 ">
<p class="menu-label">Archive</p>
Expand Down
22 changes: 1 addition & 21 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,11 @@
{% include cookie-banner.html %}
{% endif %}
{% include header.html %}
<!-- The Leaderboard (728×90) -->
<ins
class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1291242080282540"
data-ad-slot="1864856299"
></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<section class="section">
<div class="container">
<div class="columns is-multiline">
<div class="column {{ content_width }}">
{{ content }}
</div>
{% if site.posts and page.sidebar %}
<div class="column is-4-desktop is-4-tablet">
{% include sidebar.html %}
</div>
{% endif %}
</div>
{{ content }}
</div>
</section>

{% include footer.html %}
<script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script>
{%- include footer-scripts.html -%}
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
{% assign has_left_sidebar = true %}
{% endif %}

{% if page.show_sidebar and has_left_sidebar %}
{% if page.sidebar and has_left_sidebar %}
{% assign content_width = 'is-4' %}
{% elsif page.show_sidebar or has_left_sidebar %}
{% elsif page.sidebar or has_left_sidebar %}
{% assign content_width = 'is-8' %}
{% else %}
{% assign content_width = 'is-12' %}
Expand Down Expand Up @@ -47,7 +47,7 @@
{% include gallery.html %}
{{ content }}
</div>
{% if site.posts and page.show_sidebar %}
{% if site.posts and page.sidebar %}
<div class="column is-4-desktop is-4-tablet is-sticky">
<div class="box my-5">
{% assign contentsTitle = page.toc_title | default: 'Contents' %}
Expand Down
1 change: 0 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{% if page.series %}
{% include series.html %}
{% endif %}

{{ content }}
</div>

Expand Down
9 changes: 7 additions & 2 deletions _posts/2018-05-28-why-use-a-static-site-generator.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ title: "My First Post"
date: 2024-05-22
image: "https://via.placeholder.com/600x400"
permalink : /post
show_sidebar: true
sidebar_type : custom
sidebar : true
---

```
function test() {
console.log("notice the blank line before this function?");
}
```

# Welcome to My First Post

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tincidunt vestibulum ligula, eu tempor nunc fermentum eget. Nullam varius risus vel nulla vehicula, quis placerat nisi bibendum. Integer vitae sodales odio.
Expand Down
1 change: 1 addition & 0 deletions _posts/2021-10-30-creating-a-post-series.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ hero_height: is-large
hero_darken: true
tags: bulma-clean-theme jekyll blog
series: example_blog_series
sidebar : true
---

From version 0.12, you can now make a post a part of a series of posts, linking to the other posts in the series, by creating a `series` data file and then setting the series in each of the post's front matter.
Expand Down
Loading

0 comments on commit ea13763

Please sign in to comment.