Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a03e035073 | ||
|
6a27e6cec2 | ||
|
920b0c460f | ||
|
8b75ede464 | ||
|
315be0a15b | ||
|
312a33cf35 | ||
|
7b747445bf | ||
|
e593f11530 | ||
|
0a50081058 | ||
|
d1764fb366 | ||
|
864379d4ec | ||
|
04eaeba226 | ||
|
9065bb2eae | ||
|
d659b4068f | ||
|
6f38408cfb | ||
|
373d035ccc | ||
|
0923dead1d | ||
|
e33cb20e46 | ||
|
03f6ea83e8 |
@@ -16,8 +16,8 @@ Please note that this project is released with a [Contributor Code of Conduct][c
|
|||||||
|
|
||||||
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
|
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
|
||||||
|
|
||||||
|
- If you are making visual changes, include a screenshot of what the affected element looks like, both before and after.
|
||||||
- Follow the [style guide][style].
|
- Follow the [style guide][style].
|
||||||
- Write tests.
|
|
||||||
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
|
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
|
||||||
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# The Hacker theme
|
# 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).*
|
*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
|
||||||
|
|
||||||
|
@@ -2,4 +2,4 @@ title: Hacker theme
|
|||||||
description: Hacker is a theme for GitHub Pages.
|
description: Hacker is a theme for GitHub Pages.
|
||||||
show_downloads: true
|
show_downloads: true
|
||||||
google_analytics:
|
google_analytics:
|
||||||
theme:
|
theme: jekyll-theme-hacker
|
@@ -1,10 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="{{ site.lang | default: "en-US" }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset='utf-8'>
|
<meta charset='utf-8'>
|
||||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | 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>
|
|
||||||
|
{% seo %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -32,14 +34,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>
|
||||||
|
@@ -132,17 +132,7 @@ dt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
list-style: none;
|
list-style-image:url('../images/bullet.png');
|
||||||
}
|
|
||||||
|
|
||||||
ul li:before {
|
|
||||||
content: ">>";
|
|
||||||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
|
||||||
font-size: 13px;
|
|
||||||
color: #b5e853;
|
|
||||||
margin-left: -37px;
|
|
||||||
margin-right: 21px;
|
|
||||||
line-height: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
@@ -158,8 +148,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;
|
||||||
|
BIN
assets/images/bullet.png
Normal file
BIN
assets/images/bullet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 603 B |
@@ -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.1.0"
|
||||||
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"]
|
||||||
@@ -14,5 +14,6 @@ Gem::Specification.new do |s|
|
|||||||
end
|
end
|
||||||
|
|
||||||
s.platform = Gem::Platform::RUBY
|
s.platform = Gem::Platform::RUBY
|
||||||
s.add_runtime_dependency "jekyll", "~> 3.3"
|
s.add_runtime_dependency "jekyll", "~> 3.5"
|
||||||
|
s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user