Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bootstrap-table from archive tables #2306

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _layouts/archive-category.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: default
<p class="post-description">an archive of posts in this category</p>
</header>

<article>
<article class="archive">
<div class="table-responsive">
<table class="table table-sm table-borderless">
{% for post in page.posts %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/archive-tag.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: default
<p class="post-description">an archive of posts with this tag</p>
</header>

<article>
<article class="archive">
<div class="table-responsive">
<table class="table table-sm table-borderless">
{% for post in page.posts %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/archive-year.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: default
<p class="post-description">an archive of posts from this year</p>
</header>

<article>
<article class="archive">
<div class="table-responsive">
<table class="table table-sm table-borderless">
{% for post in page.posts %}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/no_defer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(document).ready(function () {
}

// only select tables that are not inside an element with "news" (about page) or "card" (cv page) class
if ($(this).parents('[class*="news"]').length == 0 && $(this).parents('[class*="card"]').length == 0 && $(this).parents("code").length == 0) {
if ($(this).parents('[class*="news"]').length == 0 && $(this).parents('[class*="card"]').length == 0 && $(this).parents('[class*="archive"]').length == 0 && $(this).parents("code").length == 0) {
// make table use bootstrap-table
$(this).attr("data-toggle", "table");
// add some classes to make the table look better
Expand Down
Loading