Skip to content

Commit 34b1299

Browse files
johnkpauljzaefferer
authored andcommitted
Add github contribute link to footer of all qunitjs.com pages. Closes gh-189
1 parent 8be9224 commit 34b1299

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

themes/qunitjs.com/content-page.php

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* The template used for displaying pages
4+
*
5+
* the_content() pulls in data from GitHub repositories
6+
* All content is managed by repositories at: https://github.com/jquery
7+
*/
8+
?>
9+
10+
<?php the_content(); ?>
11+
<?php $column_count = is_front_page() ? "six" : "eight"; ?>
12+
<aside class="github-feedback <?php echo $column_count; ?> columns">
13+
<h3>Suggestions, Problems, Feedback?</h3>
14+
<a class="button dark" href="<?php echo jq_get_github_url(); ?>"><i class="icon-github"></i> Open an Issue or Submit a Pull Request on GitHub</a>
15+
</aside>

themes/qunitjs.com/style.css

+8
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ a {
1818
border: 1px solid #ccc;
1919
border-radius: 5px;
2020
}
21+
22+
.github-feedback {
23+
margin-top: 1.5em;
24+
}
25+
26+
.icon-github {
27+
color: #FFF;
28+
}

0 commit comments

Comments
 (0)