File tree Expand file tree Collapse file tree 2 files changed +18
-32
lines changed Expand file tree Collapse file tree 2 files changed +18
-32
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,18 @@ <h1 class="post__title">{{ page.title }}</h1>
18
18
</ footer >
19
19
</ article >
20
20
21
- < div id ="disqus_thread "> </ div >
22
- < script type ="text/javascript ">
23
- /* * * CONFIGURATION VARIABLES * * */
24
- var disqus_shortname = 'codegazegithubio' ;
25
-
26
- /* * * DON'T EDIT BELOW THIS LINE * * */
27
- ( function ( ) {
28
- var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
29
- dsq . src = '//' + disqus_shortname + '.disqus.com/embed.js' ;
30
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
31
- } ) ( ) ;
32
- </ script >
33
- < noscript > Please enable JavaScript to view the < a href ="https://disqus.com/?ref_noscript " rel ="nofollow "> comments powered by Disqus.</ a > </ noscript >
21
+ < div id ="disqus_thread "> < script src ="https://giscus.app/client.js "
22
+ data-repo ="codegaze/codegaze.github.io "
23
+ data-repo-id ="MDEwOlJlcG9zaXRvcnkzNTE1MjE0Nw== "
24
+ data-category ="Codegazerants.com "
25
+ data-category-id ="DIC_kwDOAhhhE84CTJFt "
26
+ data-mapping ="pathname "
27
+ data-strict ="0 "
28
+ data-reactions-enabled ="1 "
29
+ data-emit-metadata ="0 "
30
+ data-input-position ="bottom "
31
+ data-theme ="light_tritanopia "
32
+ data-lang ="en "
33
+ crossorigin ="anonymous "
34
+ async >
35
+ </ script > </ div >
Original file line number Diff line number Diff line change 10
10
11
11
{%- for yearitem in groupedByYear -%}
12
12
< yearlist >
13
- < h2 > {{ yearitem.name }}</ h2 >
13
+ < header class ="posts-grid__header ">
14
+ < h2 > {{ yearitem.name }}</ h2 > [{{yearitem.items|size}} posts]
15
+ </ header >
14
16
< hr >
15
17
< list >
16
18
{%- for item in yearitem.items -%}
@@ -34,22 +36,4 @@ <h3 class="posts-grid__item-title">
34
36
</ list >
35
37
</ yearlist >
36
38
{% endfor %}
37
- <!-- {% for post in site.posts %}
38
- <article class="posts-grid__item">
39
- <a href="{{ site.baseurl }}{{ post.url }}" class="posts-grid__link">
40
- <h3 class="posts-grid__item-title">
41
- {{ post.title }}
42
- </h3>
43
- </a>
44
- <p class="posts-grid__summary">{{ post.excerpt| strip_html }}</p>
45
- <div class="posts-grid__meta">
46
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_long_string }}</time>
47
- <span> -
48
- {% for category in post.categories %}
49
- <a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{ category }}</a>
50
- {% endfor %}
51
- </span>
52
- </div>
53
- </article>
54
- {% endfor %} -->
55
39
</ section >
You can’t perform that action at this time.
0 commit comments