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