9 Commits

Author SHA1 Message Date
Ben Balter
d1764fb366 💎 bump 2017-03-29 12:09:27 -04:00
Ben Balter
864379d4ec Use async Google Analytics tracking code 2017-02-17 11:11:19 -05:00
Ben Balter
04eaeba226 Merge pull request #6 from Foaly/patch-1
Removed css properties with unneeded prefix.
2017-01-13 12:58:51 -05:00
Foaly
9065bb2eae Removed css properties with unneeded prefix. 2017-01-13 16:28:13 +01:00
Ben Balter
6f38408cfb Correct stylesheet path in README 2017-01-03 10:23:41 -05:00
Ben Balter
373d035ccc Merge pull request #1 from ousia/patch-1
correct typo inside an url
2016-12-19 11:16:25 -05:00
Pablo Rodríguez
0923dead1d correct typo inside an url 2016-12-18 22:56:40 +01:00
Ben Balter
e33cb20e46 Correct repository URL in Travis badge 2016-12-14 16:46:36 -05:00
Ben Balter
03f6ea83e8 Trigger initial Travis build 2016-12-14 16:39:08 -05:00
4 changed files with 10 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
# The Hacker theme # The Hacker theme
[![Build Status](https://travis-ci.org/pages-themes/jekyll-theme-hacker.svg?branch=master)](https://travis-ci.org/pages-themes/jekyll-theme-hacker) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker) [![Build Status](https://travis-ci.org/pages-themes/hacker.svg?branch=master)](https://travis-ci.org/pages-themes/hacker) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker)
*Hacker is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/hacker), or even [use it today](#usage).* *Hacker is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/hacker), or even [use it today](#usage).*
@@ -46,7 +46,7 @@ google_analytics: [Your Google Analytics tracking ID]
If you'd like to add your own custom styles: If you'd like to add your own custom styles:
1. Create a file called `/assets/css/style.css` in your site 1. Create a file called `/assets/css/style.scss` in your site
2. Add the following content to the top of the file, exactly as shown: 2. Add the following content to the top of the file, exactly as shown:
```scss ```scss
--- ---
@@ -67,7 +67,7 @@ If you'd like to change the theme's HTML layout:
## Roadmap ## Roadmap
See the [open issues](https://github.com/pagse-themes/hacker/issues) for a list of proposed features (and known issues). See the [open issues](https://github.com/pages-themes/hacker/issues) for a list of proposed features (and known issues).
## Project philosophy ## Project philosophy

View File

@@ -32,14 +32,12 @@
{% if site.google_analytics %} {% if site.google_analytics %}
<script type="text/javascript"> <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
</script> m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
<script type="text/javascript"> })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
try { ga('create', '{{ site.google_analytics }}', 'auto');
var pageTracker = _gat._getTracker("{{ site.google_analytics }}"); ga('send', 'pageview');
pageTracker._trackPageview();
} catch(err) {}
</script> </script>
{% endif %} {% endif %}
</body> </body>

View File

@@ -158,8 +158,6 @@ pre {
font-size: 16px; font-size: 16px;
color: #b5e853; color: #b5e853;
border-radius: 2px; border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
text-wrap: normal; text-wrap: normal;
overflow: auto; overflow: auto;
overflow-y: hidden; overflow-y: hidden;

View File

@@ -2,7 +2,7 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "jekyll-theme-hacker" s.name = "jekyll-theme-hacker"
s.version = "0.0.3" s.version = "0.0.4"
s.license = "CC0-1.0" s.license = "CC0-1.0"
s.authors = ["Jason Costello", "GitHub, Inc."] s.authors = ["Jason Costello", "GitHub, Inc."]
s.email = ["opensource+jekyll-theme-hacker@github.com"] s.email = ["opensource+jekyll-theme-hacker@github.com"]