Commit 77c37ae7 authored by eternal-flame-AD's avatar eternal-flame-AD

add GitHub contribution chart

parent 5c171e92
[submodule "assets/github-calendar"]
path = assets/github-calendar
url = https://github.com/IonicaBizau/github-calendar.git
Subproject commit aaf8c9c4dcc24287538908f9b2579a51bf85194f
......@@ -12,6 +12,8 @@ signature: 小透明的资料
{{< gitlab eternal-flame-AD >}}
{{< github eternal-flame-AD >}}
{{< github-calendar eternal-flame-AD >}}
## Running
长跑是坚持很久的运动了,也教会了小透明很多[运动之外的东西](/blog/2018/09/%E4%BB%8A%E5%A4%A9%E4%B8%8D%E6%83%B3%E8%B7%91%E6%89%80%E4%BB%A5%E6%89%8D%E5%8E%BB%E8%B7%91/)。不管以后会走什么样的道路,相信长跑会是一直坚持的事情~
......
<script
src="{{ ((resources.Get "/github-calendar/dist/github-calendar.min.js") | resources.Fingerprint "md5" ).Permalink }}"
>
</script>
<link
rel="stylesheet"
href="{{ ((resources.Get "github-calendar/dist/github-calendar-responsive.css") | resources.Fingerprint "md5" ).Permalink }}"
/>
<style>
@media only screen and (max-width: 768px) {
.graph-before-activity-overview {
display: none;
}
}
#user-activity-overview {
display: none;
}
</style>
<!-- Prepare a container for your calendar. -->
<div class="calendar" id="calendar-{{index .Params 0}}">
Loading GitHub contribution chart for {{index .Params 0}}.
</div>
<script>
new GitHubCalendar("#calendar-{{index .Params 0}}", "{{index .Params 0}}");
</script>
\ No newline at end of file
......@@ -21,7 +21,7 @@
X-Download-Options: noopen
Referrer-Policy: same-origin
X-Frame-Options: allow-from https://player.bilibili.com/ https://music.163.com/ https://open.spotify.com/ https://www.strava.com/ https://disqus.com/ https://*.twitter.com/
Content-Security-Policy: script-src 'self' 'unsafe-inline' https://gist.github.com:443 https://eternalflame-cn.disqus.com:443 https://disquscdn.com:443 https://*.disquscdn.com:443 https://c.disquscdn.com:443 https://disqus.com:443 https://cdn.bootcss.com:443 https://platform.twitter.com:443 https://*.twimg.com:443; style-src 'self' data: 'unsafe-inline' https://cdn.bootcss.com:443 https://assets-cdn.github.com:443 https://use.fontawesome.com:443 https://*.twitter.com:443 https://ton.twimg.com:443 https://*.disquscdn.com:443; img-src 'self' data: https://gitlab.com:443 https://*.gitlab.com:443 https://github.com:443 https://*.github.com:443 https://img.shields.io:443 https://*.twimg.com:443 https://*.twitter.com:443; font-src 'self' data: https://cdn.bootcss.com:443 https://use.fontawesome.com:443; connect-src 'self' https://syndication.twitter.com:443; media-src 'self' ; frame-src 'self' https://player.bilibili.com:443 https://music.163.com:443 https://open.spotify.com:443 https://www.strava.com:443 https://disqus.com:443 https://*.twitter.com:443; upgrade-insecure-requests; block-all-mixed-content; disown-opener; referrer no-referrer; report-uri https://andycloud.report-uri.com/r/d/csp/enforce;
Content-Security-Policy: script-src 'self' 'unsafe-inline' https://gist.github.com:443 https://eternalflame-cn.disqus.com:443 https://disquscdn.com:443 https://*.disquscdn.com:443 https://c.disquscdn.com:443 https://disqus.com:443 https://cdn.bootcss.com:443 https://platform.twitter.com:443 https://*.twimg.com:443; style-src 'self' data: 'unsafe-inline' https://cdn.bootcss.com:443 https://assets-cdn.github.com:443 https://use.fontawesome.com:443 https://*.twitter.com:443 https://ton.twimg.com:443 https://*.disquscdn.com:443; img-src 'self' data: https://gitlab.com:443 https://*.gitlab.com:443 https://github.com:443 https://*.github.com:443 https://*.githubusercontent.com:443 https://img.shields.io:443 https://*.twimg.com:443 https://*.twitter.com:443; font-src 'self' data: https://cdn.bootcss.com:443 https://use.fontawesome.com:443; connect-src 'self' https://syndication.twitter.com:443 https://urlreq.appspot.com:443; media-src 'self' ; frame-src 'self' https://player.bilibili.com:443 https://music.163.com:443 https://open.spotify.com:443 https://www.strava.com:443 https://disqus.com:443 https://*.twitter.com:443; upgrade-insecure-requests; block-all-mixed-content; disown-opener; referrer no-referrer; report-uri https://andycloud.report-uri.com/r/d/csp/enforce;
/*/
Cache-Control: max-age=600, must-revalidate
......@@ -29,4 +29,4 @@
X-Download-Options: noopen
Referrer-Policy: same-origin
X-Frame-Options: allow-from https://player.bilibili.com/ https://music.163.com/ https://open.spotify.com/ https://www.strava.com/ https://disqus.com/ https://*.twitter.com/
Content-Security-Policy: script-src 'self' 'unsafe-inline' https://gist.github.com:443 https://eternalflame-cn.disqus.com:443 https://disquscdn.com:443 https://*.disquscdn.com:443 https://c.disquscdn.com:443 https://disqus.com:443 https://cdn.bootcss.com:443 https://platform.twitter.com:443 https://*.twimg.com:443; style-src 'self' data: 'unsafe-inline' https://cdn.bootcss.com:443 https://assets-cdn.github.com:443 https://use.fontawesome.com:443 https://*.twitter.com:443 https://ton.twimg.com:443 https://*.disquscdn.com:443; img-src 'self' data: https://gitlab.com:443 https://*.gitlab.com:443 https://github.com:443 https://*.github.com:443 https://img.shields.io:443 https://*.twimg.com:443 https://*.twitter.com:443; font-src 'self' data: https://cdn.bootcss.com:443 https://use.fontawesome.com:443; connect-src 'self' https://syndication.twitter.com:443; media-src 'self' ; frame-src 'self' https://player.bilibili.com:443 https://music.163.com:443 https://open.spotify.com:443 https://www.strava.com:443 https://disqus.com:443 https://*.twitter.com:443; upgrade-insecure-requests; block-all-mixed-content; disown-opener; referrer no-referrer; report-uri https://andycloud.report-uri.com/r/d/csp/enforce;
\ No newline at end of file
Content-Security-Policy: script-src 'self' 'unsafe-inline' https://gist.github.com:443 https://eternalflame-cn.disqus.com:443 https://disquscdn.com:443 https://*.disquscdn.com:443 https://c.disquscdn.com:443 https://disqus.com:443 https://cdn.bootcss.com:443 https://platform.twitter.com:443 https://*.twimg.com:443; style-src 'self' data: 'unsafe-inline' https://cdn.bootcss.com:443 https://assets-cdn.github.com:443 https://use.fontawesome.com:443 https://*.twitter.com:443 https://ton.twimg.com:443 https://*.disquscdn.com:443; img-src 'self' data: https://gitlab.com:443 https://*.gitlab.com:443 https://github.com:443 https://*.github.com:443 https://*.githubusercontent.com:443 https://img.shields.io:443 https://*.twimg.com:443 https://*.twitter.com:443; font-src 'self' data: https://cdn.bootcss.com:443 https://use.fontawesome.com:443; connect-src 'self' https://syndication.twitter.com:443 https://urlreq.appspot.com:443; media-src 'self' ; frame-src 'self' https://player.bilibili.com:443 https://music.163.com:443 https://open.spotify.com:443 https://www.strava.com:443 https://disqus.com:443 https://*.twitter.com:443; upgrade-insecure-requests; block-all-mixed-content; disown-opener; referrer no-referrer; report-uri https://andycloud.report-uri.com/r/d/csp/enforce;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment