mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-11 04:09:01 -06:00
proper implementation of github activity widget
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block head %}
|
||||
super()
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='github-activity-0.1.5.min.css') }}">
|
||||
|
||||
@@ -43,7 +43,7 @@ super()
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<!-- GitHub Feed -->
|
||||
<div class="feed">
|
||||
<div id="feed">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -78,4 +78,14 @@ super()
|
||||
</div>
|
||||
</section>
|
||||
<!-- End Dynamic Content -->
|
||||
|
||||
<script>
|
||||
GitHubActivity.feed({
|
||||
username: "xevion",
|
||||
repository: "xevion.dev",
|
||||
selector: "#feed",
|
||||
limit: 10 // optional
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock body %}
|
||||
Reference in New Issue
Block a user