Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d1764fb366 | ||
|
864379d4ec | ||
|
04eaeba226 | ||
|
9065bb2eae | ||
|
6f38408cfb | ||
|
373d035ccc | ||
|
0923dead1d | ||
|
e33cb20e46 | ||
|
03f6ea83e8 | ||
|
0c80ff632d | ||
|
82f1b0f10c |
@@ -1,6 +1,6 @@
|
||||
# The Hacker theme
|
||||
|
||||
[](https://travis-ci.org/pages-themes/jekyll-theme-hacker) [](https://badge.fury.io/rb/jekyll-theme-hacker)
|
||||
[](https://travis-ci.org/pages-themes/hacker) [](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).*
|
||||
|
||||
@@ -46,7 +46,7 @@ google_analytics: [Your Google Analytics tracking ID]
|
||||
|
||||
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:
|
||||
```scss
|
||||
---
|
||||
@@ -67,7 +67,7 @@ If you'd like to change the theme's HTML layout:
|
||||
|
||||
## 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
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
||||
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>
|
||||
</head>
|
||||
|
||||
@@ -32,14 +32,12 @@
|
||||
|
||||
{% if site.google_analytics %}
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("{{ site.google_analytics }}");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', '{{ site.google_analytics }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
@@ -158,8 +158,6 @@ pre {
|
||||
font-size: 16px;
|
||||
color: #b5e853;
|
||||
border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
text-wrap: normal;
|
||||
overflow: auto;
|
||||
overflow-y: hidden;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "jekyll-theme-hacker"
|
||||
s.version = "0.0.2"
|
||||
s.version = "0.0.4"
|
||||
s.license = "CC0-1.0"
|
||||
s.authors = ["Jason Costello", "GitHub, Inc."]
|
||||
s.email = ["opensource+jekyll-theme-hacker@github.com"]
|
||||
|
Reference in New Issue
Block a user