Skip to content

Commit

Permalink
site: fix whimsy issues & remove defunct integrations (#1344)
Browse files Browse the repository at this point in the history
* fix license link & remove defunct slack & twitter integration

* remove defunct algolia search

* link events

* make copyright check happy
  • Loading branch information
NiklasMerz committed Jan 26, 2024
1 parent 09239f5 commit 10e089e
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 54 deletions.
2 changes: 0 additions & 2 deletions conf/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,5 @@ kramdown:
exclude:
- static/css-src

algolia_api_key: "0a916ab198bd93d031aa70611271e42e"

collections:
- members
21 changes: 0 additions & 21 deletions www/_includes/algolia.html

This file was deleted.

8 changes: 5 additions & 3 deletions www/_includes/footer_contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>General</h2>
<a href="https://www.apache.org/dyn/closer.cgi/cordova">Source Distribution</a>
</li>
<li>
<a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">License</a>
<a target="_blank" href="https://www.apache.org/licenses">License</a>
</li>
<li>
<a href="{{ site.baseurl }}/artwork">Artwork</a>
Expand All @@ -35,6 +35,9 @@ <h2>Apache Software Foundation</h2>
<li>
<a target="_blank" href="https://www.apache.org/">About ASF</a>
</li>
<li>
<a target="_blank" href="https://www.apache.org/events/current-event">Events</a>
</li>
<li>
<a target="_blank" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
</li>
Expand All @@ -59,11 +62,10 @@ <h1>Contribute</h1>
Learn More
</a>
<p style="padding-top:20px"> <a href="https://twitter.com/apachecordova" class="twitter-follow-button" data-show-count="false">Follow @apachecordova</a></p>
<script async defer src="https://slack-cordova-io.herokuapp.com/slackin.js"></script>
</div>
</div>
<p class="copyright_text">
Copyright &copy; {{ 'now' | date: "%Y" }} The Apache Software Foundation, Licensed under the <a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
Copyright &copy; {{ 'now' | date: "%Y" }} <a href="https://apache.org">The Apache Software Foundation</a>, Licensed under the <a target="_blank" href="https://www.apache.org/licenses/">Apache License, Version 2.0</a>.<br/>
Apache and the Apache feather logos are <a target="_blank" href="https://www.apache.org/foundation/marks/list/">trademarks</a> of The Apache Software Foundation.
<br/>
<p>See the <a href="{{ site.baseurl }}/attributions/">attributions page</a> for other copyright & trademark notices.</p>
Expand Down
2 changes: 0 additions & 2 deletions www/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/static/css/main.css">
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/static/css/lib/syntax.css">
<!-- Algolia Search CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />

<!-- Fonts -->
<!-- For attribution information, see www/attributions.html -->
Expand Down
1 change: 0 additions & 1 deletion www/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
{% else %}
{% assign version = site.latest_docs_version %}
{% endif %}
<input id="header-search-field" type="text" placeholder="Search '{{ version }}' docs..." class="form-control hidden-xs" autocomplete="off">
</div>
</form>
</li>
Expand Down
20 changes: 0 additions & 20 deletions www/_includes/twitterFeed.html

This file was deleted.

1 change: 0 additions & 1 deletion www/_layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
{{ content }}
<script defer type="text/javascript" src="{{ site.baseurl }}/static/js/index.js"></script>
<script defer type="text/javascript" src="{{ site.baseurl }}/static/js/twitter.js"></script>
{% include algolia.html %}
</body>
</html>
3 changes: 0 additions & 3 deletions www/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ <h2 class="title">
</ul>
<!-- <a target="_blank" href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path }}"><img src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a> -->
</div>
<div class="col-sm-4 social-container">
{% include twitterFeed.html %}
</div>
</div>

<script>
Expand Down
1 change: 0 additions & 1 deletion www/static/js/twitter.js

This file was deleted.

0 comments on commit 10e089e

Please sign in to comment.