Merge branch 'dev' of rajukottedi/chirpy-blogging into prod

This commit is contained in:
Bangara Raju Kottedi 2023-08-26 14:02:02 +05:30 committed by Gogs
commit da578461fc
6 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@ theme: jekyll-theme-chirpy
# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites # Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
# and doesn't have a custom domain. # and doesn't have a custom domain.
baseurl: "" baseurl: "/blog"
# The language of the webpage http://www.lingoes.net/en/translator/langcode.htm # The language of the webpage http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed, # If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,

View File

@ -1,4 +1,4 @@
<div id="remark42"> <div id="remark42">
</div> </div>
<script src="/assets/js/comments/remark42.js"></script> <script src="{{ '/assets/js/comments/remark42.js' | relative_url }}"></script>

View File

@ -86,7 +86,7 @@
{% endif %} {% endif %}
<!-- JavaScript --> <!-- JavaScript -->
<script src="/assets/js/common.js" serviceurl="{{site.custom-config.blog-services.service_url}}" siteid="{{site.id}}" postid="{{page.title}}" remark42host="{{ site.comments.remark42.host }}"></script> <script src="{{ '/assets/js/common.js' | relative_url }}" serviceurl="{{site.custom-config.blog-services.service_url}}" siteid="{{site.id}}" postid="{{page.title}}" remark42host="{{ site.comments.remark42.host }}"></script>
{% unless site.theme_mode %} {% unless site.theme_mode %}
{% include mode-toggle.html %} {% include mode-toggle.html %}

View File

@ -1,7 +1,7 @@
<link rel="stylesheet" href="/assets/css/heart.css"> <link rel="stylesheet" href="{{ '/assets/css/heart.css' | relative_url }}">
<i class="heart-icon" {% if include.tooltip %} title="{{site.data.locales[include.lang].post.likes}}" <i class="heart-icon" {% if include.tooltip %} title="{{site.data.locales[include.lang].post.likes}}"
data-bs-toggle="tooltip" data-bs-placement="bottom" {% endif %}></i> data-bs-toggle="tooltip" data-bs-placement="bottom" {% endif %}></i>
{% include loader.html id="likes-loader" %} {% include loader.html id="likes-loader" %}
<em id="likes-count"></em> <em id="likes-count"></em>
<script src="/assets/js/likes.js"></script> <script src="{{ '/assets/js/likes.js' | relative_url }}"></script>

View File

@ -1,8 +1,8 @@
<i class="fa fa-eye fa-fw me-1" {% if include.tooltip %} title="{{site.data.locales[include.lang].post.views}}" <i class="fa fa-eye fa-fw" {% if include.tooltip %} title="{{site.data.locales[include.lang].post.views}}"
data-bs-toggle="tooltip" data-bs-placement="bottom" {% endif %}></i> data-bs-toggle="tooltip" data-bs-placement="bottom" {% endif %}></i>
{% include loader.html id="views-loader" style="margin-right: 12px" %} {% include loader.html id="views-loader" style="margin-right: 12px" %}
<em id="views-count" style="margin-right: 12px"> <em id="views-count" style="margin-right: 12px">
</em> </em>
<script src="/assets/js/views.js"> <script src="{{ '/assets/js/views.js' | relative_url }}">
</script> </script>

View File

@ -1,11 +1,11 @@
.heart-icon { .heart-icon {
margin-bottom: -41px; margin-bottom: -41px;
margin-right: -38px; margin-right: -40px;
display: inline-flex; display: inline-flex;
width: 46px; width: 46px;
height: 46px; height: 46px;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background: url(/assets/img/custom/heart.png) no-repeat; background: url(../img/custom/heart.png) no-repeat;
background-position: 0 0; background-position: 0 0;
cursor: pointer; cursor: pointer;
} }