Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 88809bd

Browse files
committed
Added $title to GitHub badge as GITHUB_TITLE
1 parent a22cc1f commit 88809bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitpress.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function gitpress_widget($args, $widget_args = 1) {
7575
echo $before_widget . $before_title . $after_title; ?>
7676
<li id="github-badge" style="list-style: none"></li>
7777
<script type="text/javascript" charset="utf-8">
78+
GITHUB_TITLE="<?php echo $title ?>";
7879
GITHUB_USERNAME="<?php echo $username ?>";
7980
GITHUB_HEAD="h2";
8081
</script>

0 commit comments

Comments
 (0)