Skip to content

Commit b9b824f

Browse files
authored
add automatic last year in angular moscow meetup
1 parent 51e6ac8 commit b9b824f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,10 @@ <h1 class="no-anchor no-toc" style="display: none" id=""></h1>
222222
<img src="https://avatars2.githubusercontent.com/u/29404381?s=200&amp;v=4" height="70px">
223223
<div class="card-text-container">
224224
<span class="card-text-title">Angular Meetup</span>
225-
<p class="card-text-subtitle">AnguarMoscow<br>©2017-2018</p>
225+
<p class="card-text-subtitle">
226+
AnguarMoscow <br>
227+
©2017-<span id="ngmoscow-full-year"></span>
228+
</p>
226229
</div>
227230
</div></a>
228231
</div>
@@ -274,4 +277,9 @@ <h1 class="no-anchor no-toc" style="display: none" id=""></h1>
274277
<noscript><div><img src="https://mc.yandex.ru/watch/47294688" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
275278
<!-- /Yandex.Metrika counter -->
276279

280+
<script>
281+
document.getElementById('ngmoscow-full-year').appendChild(document.createTextNode(new Date().getFullYear()));
282+
</script>
283+
284+
277285
</body></html>

0 commit comments

Comments
 (0)