Skip to content

Commit f1f87a0

Browse files
committed
A couple minor UI nits
1 parent 7694ccf commit f1f87a0

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ gem "jekyll", "~> 4.2.0"
1818
group :jekyll_plugins do
1919
gem "jekyll-feed", github: 'buddhist-uni/jekyll-feed', branch: 'collection-tags'
2020
gem "jekyll-sitemap", "~> 1.4.0"
21-
gem "jekyll-seo-tag", github: "buddhist-uni/jekyll-seo-tag", branch: 'obu-custom-seo'
21+
gem "jekyll-seo-tag", github: "buddhist-uni/jekyll-seo-tag", ref: '644037c'
2222
gem "jekyll-last-modified-at", github: "buddhist-uni/jekyll-last-modified-at", branch: 'post-date'
2323
gem 'jekyll-include-cache'
2424
end

‎Gemfile.lock‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ GIT
1717

1818
GIT
1919
remote: https://github.com/buddhist-uni/jekyll-seo-tag.git
20-
revision: bd197620a6d2e15febae2ed9871a18116844146e
21-
branch: obu-custom-seo
20+
revision: 644037c4bdc815bbd973bb2aad139428d0a2eea7
21+
ref: 644037c
2222
specs:
2323
jekyll-seo-tag (2.7.1)
2424
jekyll (>= 3.8, < 5.0)

‎_includes/content_filelinks.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{% include content_path.liquid content=include.content %}
2-
<div class="content_links">
3-
{% if include.content.external_url %}
4-
{% assign linkfmt = "" %}
2+
<div class="content_links">{% if page.collection == "content" %}Get it:{% endif %}
3+
{% if include.content.external_url %}{% assign linkfmt = "" %}
54
{%- capture linkbody -%}<i class="fa{% if include.content.external_url contains "youtu" %}{% assign linkfmt = "YouTube (link)" %}b fa-youtube"></i> YouTube{% elsif include.content.external_url contains "//www.academia.edu/" %}c-academia"></i>cademia.edu{% assign linkfmt = "Academia.edu" %}{% else %}s fa-{% assign ext = include.content.external_url | slice: -4, 4 %}{% if ext == ".pdf" %}{% assign linkfmt = "pdf" %}file-pdf"></i> pdf{% elsif ext == ".mp3" %}{% assign linkfmt = "mp3" %}file-audio"></i> mp3{% elsif ext == ".zip" %}{% assign linkfmt = "zip" %}file-archive"></i> zip{% else %}{% if ext == ".htm" %}{% assign linkfmt = "html" %}{% elsif ext == "html" %}{% assign linkfmt = "html" %}{% endif %}{% case include.content.category %}{% when "av" %}volume-up{% when "booklets" %}book-open{% when "monographs" %}book-open{% else %}globe{% endcase %}"></i> Online{% endif %}{% endif %}{%- endcapture -%}
65
<a class="btn" {% if include.newtab %}target="_blank"{% endif %} {% include content_link_data_attributes.html content=include.content linktype="Main External URL" linkfmt=linkfmt %} href="{{ include.content.external_url }}"{% for nrh in site.data.content.noreferrerhosts %}{% if include.content.external_url contains nrh %} rel="noreferrer"{% break %}{% endif %}{% endfor %}>{{ linkbody }}</a>
76
{% endif %}

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
image_height: 2048
1212
image_width: 1365
1313
image_center_x: 50%
14-
image_center_y: 2%
14+
image_center_y: 33%
1515
---
1616
<div class="welcome"><h1><a href="{% link _posts/2020-03-13-welcome.md %}">Welcome to the Open Buddhist University</a></h1>
1717
<p>A place to chill and learn about Buddhism.</p></div>

0 commit comments

Comments
 (0)