Skip to content

Commit

Permalink
Remove applause (undocumented feature)
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Mar 3, 2025
1 parent 093bca8 commit 42864fe
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 53 deletions.
4 changes: 0 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,6 @@
<!-- Compatibility with FontAwesome 4 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/v4-shims.min.css">
{%- endif %}
{%- if page.show_applause %}
<link rel="stylesheet" href="https://unpkg.com/applause-button/dist/applause-button.css">
<script src="https://unpkg.com/applause-button/dist/applause-button.js"></script>
{% endif -%}
<link rel="preload" href="https://cdn.jsdelivr.net/gh/dieghernan/chulapa@master/assets/js/chulapa_script.js" as="script" >
<link rel="preload" href="https://cdn.jsdelivr.net/gh/dieghernan/chulapa@master/assets/fonts/Chulapa/Chulapa-Bold_vmod.otf" as="font" type="font/otf" crossorigin>
<!-- Theme css (Bootstrap included) -->
Expand Down
4 changes: 0 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
</nav>
{% endif %}
{{- content -}}

{% if page.show_applause %}
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
{% endif %}
</article>
</div>
</main>
Expand Down
4 changes: 0 additions & 4 deletions _layouts/landingpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
</nav>
{% endif %}
{{- content -}}

{% if page.show_applause %}
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
{% endif %}
</article>
</div>
</main>
Expand Down
38 changes: 0 additions & 38 deletions _sass/chulapa/_classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1230,41 +1230,3 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
#disqus_recommendations {
width: 100%;
}


// For applause button

applause-button {

div.style-root {
fill: $body-color !important;
stroke: $body-color !important;
color: $body-color !important;
}

.count-container {
top: -60% !important;
color: $body-color !important;
}

&.clap-limit-exceeded div {
fill: $info !important;
stroke: $info !important;
color: $info !important;
}
}

.chulapa-bg-landingpage {
applause-button {
div.style-root {
fill: $landingpage-chulapa-text-color !important;
stroke: $landingpage-chulapa-text-color !important;
color: $landingpage-chulapa-text-color !important;
}

.count-container {
color: $landingpage-chulapa-text-color !important;
}
}
}

2 changes: 0 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ defaults:
show_bottomnavs : true
show_comments : true
show_breadcrumb : true
show_applause : true
og_image: "/assets/img/site/banner-docs.png"
breadcrumb_list :
- label: Home
Expand Down Expand Up @@ -233,7 +232,6 @@ defaults:
show_sidetoc : true
show_breadcrumb : true
show_seo : false
show_applause : true
breadcrumb_list :
- label: Skins
url: /skins
Expand Down
2 changes: 1 addition & 1 deletion docs/collections/_docs/02_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Algolia and Google CSE you may need to create an account and perform some additi
- `label`: Text to be displayed on the navbar when enabled. Useful for localization (i.e. you can set it as Búsqueda or Ricerca). **Search**.
- `landing_page`: url of your search page, useful for localization. **"/search"**.
- `lunr_maxwords`: **DEPRECATED**, use `maxwords`.
- `maxwords: `simplesearch`, `fusejs`, `lunr` only, number of word to be
- `maxwords`: `simplesearch`, `fusejs`, `lunr` only, number of words to be
included in the index. **30**.
- `show_attrib`: Show attributions/logo on search engine **true**.
- `algolia_logo`: Your must set it as `true` if your are on a Community (Free) Algolia plan.
Expand Down

0 comments on commit 42864fe

Please sign in to comment.