Skip to content

Commit 6b80920

Browse files
authored
Merge pull request #6 from ggerman/feature/update-template
update template format
2 parents 993c342 + d0dceaa commit 6b80920

1 file changed

Lines changed: 37 additions & 4 deletions

File tree

lib/dashboard/professional_template.html.erb

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,17 @@
264264
<div class="header-left">
265265
<h1>📊 <%= title %></h1>
266266
<div class="subtitle"><%= subtitle %></div>
267+
<div class="links" style="margin-top: 12px;">
268+
<a href="https://rubystacknews.com/2026/03/30/github-deletes-your-traffic-logs-every-14-days-heres-how-to-stop-that-with-ruby/"
269+
style="color: #4a90e2; text-decoration: none; font-size: 13px;">
270+
📖 Read the full article on RubyStackNews
271+
</a>
272+
&nbsp;|&nbsp;
273+
<a href="https://github.com/ggerman"
274+
style="color: #4a90e2; text-decoration: none; font-size: 13px;">
275+
👤 ggerman on GitHub
276+
</a>
277+
</div>
267278
</div>
268279
<div class="header-right">
269280
<div class="badge">Live Data</div>
@@ -365,11 +376,33 @@
365376
</div>
366377
<% end %>
367378

368-
<div class="footer">
369-
<p>Generated with <strong>ruby-libgd</strong><a href="https://github.com/ggerman/ruby-libgd">github.com/ggerman/ruby-libgd</a></p>
370-
<p>Created by <strong>Germán Alberto Giménez Silva</strong> &lt;ggerman@gmail.com&gt;</p>
371-
<p>Data from GitHub API • Historical data stored in <strong>metrics-vault</strong></p>
379+
<div style="text-align: center; margin: 24px 0; padding: 16px; background: #f8f9fa; border-radius: 12px;">
380+
<p style="margin: 0;">
381+
📖 <strong>Learn how this dashboard works</strong>
382+
<a href="https://rubystacknews.com/2026/03/30/github-deletes-your-traffic-logs-every-14-days-heres-how-to-stop-that-with-ruby/"
383+
style="color: #4a90e2;">Read the full tutorial on RubyStackNews</a>
384+
&nbsp;|&nbsp;
385+
<a href="https://github.com/ggerman" style="color: #4a90e2;">GitHub Profile</a>
386+
</p>
372387
</div>
373388
</div>
389+
390+
<!-- Default Statcounter code for Metrics Dashboard
391+
https://ggerman.github.io/github-metrics-dashboard/ -->
392+
<script type="text/javascript">
393+
var sc_project=13213724;
394+
var sc_invisible=1;
395+
var sc_security="4d42e394";
396+
</script>
397+
<script type="text/javascript"
398+
src="https://www.statcounter.com/counter/counter.js"
399+
async></script>
400+
<noscript><div class="statcounter"><a title="Web Analytics"
401+
href="https://statcounter.com/" target="_blank"><img
402+
class="statcounter"
403+
src="https://c.statcounter.com/13213724/0/4d42e394/1/"
404+
alt="Web Analytics"
405+
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
406+
<!-- End of Statcounter Code -->
374407
</body>
375408
</html>

0 commit comments

Comments
 (0)