Skip to content

Commit

Permalink
a few design nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Jul 12, 2023
1 parent 39b6a8f commit 1a26974
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion _sass/nimitta.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ header.site-header {
border: none;
.wrapper {
max-width: 100%;
padding-bottom: 3px;
backdrop-filter: blur(0.3px);
}
.site-nav-links {
float: right;
Expand Down Expand Up @@ -302,7 +304,7 @@ div.content_box blockquote {
font-size: 133%;
line-height: 75%;
}
p:after {
> :last-child:after {
content: "";
font-size: 133%;
line-height: 75%;
Expand Down
3 changes: 3 additions & 0 deletions ads.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# We have no authorized sellers as our site is 100% ad-free
# Please do not contact us or any 3rd party broker about offers for paid content, brand deals, display ads, etc

2 changes: 1 addition & 1 deletion assets/css/content-perma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ div.post-content {
font-size: 150%;
line-height: 75%;
}
p:after {
> :last-child:after {
content: "";
font-size: 150%;
line-height: 75%;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/search_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var store = { {% assign all = site.documents | concat: site.pages %}
"type": "{{ p.collection | default: 'pages' }}",
"title": {{ p.title | markdownify | strip_html | normalize_whitespace | jsonify }},
"description": {{ p.description | markdownify | strip_html | normalize_whitespace | jsonify }},
"tags": {{ p.tags | default: emptylist | unshift: p.course | jsonify }},
"tags": {% assign tags = emptylist %}{% for t in p.tags %}{% assign tag = site.tags | find: "slug", t %}{% unless tag %}{% assign tag = site.courses | find: "slug", t %}{% endunless %}{% if tag.title %}{% assign tags = tags | push: tag.title %}{% assign tt = tag.title | slugify %}{% endif %}{% unless tt contains t %}{% assign tags = tags | push: t %}{% endunless %}{% endfor %}{% if p.course %}{% assign course = site.courses | find: "slug", p.course %}{% unless course %}{% assign course = site.tags | find: "slug", p.course %}{% endunless %}{% if course.title %}{% assign tags = tags | push: course.title %}{% assign tt = course.title | slugify %}{% endif %}{% unless tt contains p.course %}{% assign tags = tags | push: p.course %}{% endunless %}{% endif %}{{ tags | jsonify }},
"category": {{ p.category | jsonify }},
"subcategory": {{ p.subcat | jsonify }},
"boost": {% if p.status == 'featured' %}1.6{% elsif p.status == 'rejected' %}0.3{% elsif p.layout == 'imagerycoursepart' %}1.5{% elsif p.course %}1.2{% elsif p.collection == 'courses' %}2{% elsif p.collection == 'tags' %}2{% else %}1{% endif %},
Expand Down

0 comments on commit 1a26974

Please sign in to comment.