Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f73475f35f | ||
|
af4f3167c1 | ||
|
32e233c327 | ||
|
4404f41b9b | ||
|
b5d117c1bc | ||
|
d0d25c55a0 | ||
|
7baf14d73e | ||
|
38c6de70e4 | ||
|
001a5a5576 | ||
|
e193e8e825 | ||
|
b3223aa1b5 | ||
|
f2539643a8 |
4
.github/config.yml
vendored
4
.github/config.yml
vendored
@@ -14,7 +14,7 @@ requestInfoLabelToAdd: more-information-needed
|
||||
# Welcome!
|
||||
|
||||
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
|
||||
newPRWelcomeComment: Welcome! Congrats on your first pull request to The Hacker Theme. If you haven't already, please be sure to check out [the contributing guidelines](https://github.com/pages-themes/hacker/blob/master/docs/CONTRIBUTING.md).
|
||||
newPRWelcomeComment: Welcome! Congrats on your first pull request to the Hacker theme. If you haven't already, please be sure to check out [the contributing guidelines](https://github.com/pages-themes/hacker/blob/master/docs/CONTRIBUTING.md).
|
||||
|
||||
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
|
||||
firstPRMergeComment: "Congrats on getting your first pull request to The Hacker Theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! :tada:<br /><br />If you're interested in tackling another bug or feature, take a look at [the open issues](https://github.com/pages-themes/hacker/issues), especially those [labeled `help wanted`](https://github.com/pages-themes/hacker/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)."
|
||||
firstPRMergeComment: "Congrats on getting your first pull request to the Hacker theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! :tada:<br /><br />If you're interested in tackling another bug or feature, take a look at [the open issues](https://github.com/pages-themes/hacker/issues), especially those [labeled `help wanted`](https://github.com/pages-themes/hacker/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)."
|
||||
|
@@ -1,7 +1,6 @@
|
||||
language: ruby
|
||||
cache: bundler
|
||||
sudo: false
|
||||
rvm: 2.2
|
||||
rvm: 2.6
|
||||
|
||||
install: script/bootstrap
|
||||
script: script/cibuild
|
||||
|
2
Gemfile
2
Gemfile
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gemspec
|
||||
|
@@ -13,7 +13,9 @@
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
||||
<a id="a-title" href="{{ '/' | relative_url }}">
|
||||
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
||||
</a>
|
||||
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
|
||||
|
||||
<section id="downloads">
|
||||
|
@@ -6,6 +6,13 @@ $body-foreground: $gallery !default;
|
||||
$header: $conifer !default;
|
||||
$blockquote-color: $silver-chalice !default;
|
||||
$blockquote-border: $dove-grey !default;
|
||||
$container-max-width: 1000px;
|
||||
|
||||
@mixin media-max-width($max-width) {
|
||||
@media (max-width: $max-width) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
@@ -21,7 +28,7 @@ body {
|
||||
|
||||
.container {
|
||||
width: 90%;
|
||||
max-width: 1000px;
|
||||
max-width: $container-max-width;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -64,8 +71,12 @@ header h1 {
|
||||
0 0 10px rgba(181, 232, 83, 0.1);
|
||||
letter-spacing: -1px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@include media-max-width($container-max-width) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
header h1:before {
|
||||
content: "./ ";
|
||||
font-size: 24px;
|
||||
@@ -251,3 +262,7 @@ a {
|
||||
.cf {
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
#a-title {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@@ -1,8 +1,8 @@
|
||||
# Contributing to The Hacker Theme
|
||||
# Contributing to the Hacker theme
|
||||
|
||||
Hi there! We're thrilled that you'd like to contribute to The Hacker Theme. Your help is essential for keeping it great.
|
||||
Hi there! We're thrilled that you'd like to contribute to the Hacker theme. Your help is essential for keeping it great.
|
||||
|
||||
The Hacker Theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into The Hacker Theme itself.
|
||||
the Hacker theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into the Hacker theme itself.
|
||||
|
||||
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
|
||||
|
||||
@@ -28,7 +28,7 @@ Here are a few tips for writing *great* bug reports:
|
||||
|
||||
## How to suggest a feature or enhancement
|
||||
|
||||
If you find yourself wishing for a feature that doesn't exist in The Hacker Theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that The Hacker Theme has today have been added because our users saw the need.
|
||||
If you find yourself wishing for a feature that doesn't exist in the Hacker theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that the Hacker theme has today have been added because our users saw the need.
|
||||
|
||||
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and goals of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible, including describing the problem you're trying to solve.
|
||||
|
||||
@@ -38,7 +38,7 @@ Feature requests are welcome. But take a moment to find out whether your idea fi
|
||||
|
||||
## Your first contribution
|
||||
|
||||
We'd love for you to contribute to the project. Unsure where to begin contributing to The Hacker Theme? You can start by looking through these "good first issue" and "help wanted" issues:
|
||||
We'd love for you to contribute to the project. Unsure where to begin contributing to the Hacker theme? You can start by looking through these "good first issue" and "help wanted" issues:
|
||||
|
||||
* [Good first issues](https://github.com/pages-themes/hacker/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - issues which should only require a few lines of code and a test or two
|
||||
* [Help wanted issues](https://github.com/pages-themes/hacker/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which may be a bit more involved, but are specifically seeking community contributions
|
||||
|
@@ -1,9 +1,9 @@
|
||||
## Where to get help
|
||||
|
||||
If you think you've found a bug in The Hacker Theme, please [check the existing issues](https://github.com/pages-themes/hacker/issues), and if no one has reported the problem, [open a new issue](https://github.com/pages-themes/hacker/issues/new).
|
||||
If you think you've found a bug in the Hacker theme, please [check the existing issues](https://github.com/pages-themes/hacker/issues), and if no one has reported the problem, [open a new issue](https://github.com/pages-themes/hacker/issues/new).
|
||||
|
||||
If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options:
|
||||
|
||||
1. [Contact GitHub Support](https://github.com/contact?form%5Bsubject%5D=GitHub%20Pages%20theme%20pages-themes/hacker), or
|
||||
If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options:
|
||||
|
||||
1. Search for your query on [`support.github.com`](https://support.github.com/?q=pages+Hacker+theme), which will also look for similar topics on [`github.community`](https://github.community/search?q=pages+Hacker+theme)
|
||||
2. Ask your question of the Jekyll community on [talk.jekyllrb.com](https://talk.jekyllrb.com/)
|
||||
3. [Contact GitHub Support](https://github.com/contact?form%5Bsubject%5D=GitHub%20Pages%20theme%20pages-themes/hacker)
|
||||
|
2
index.md
2
index.md
@@ -94,7 +94,7 @@ end
|
||||
|
||||
### Small image
|
||||
|
||||

|
||||

|
||||
|
||||
### Large image
|
||||
|
||||
|
@@ -1,6 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'jekyll-theme-hacker'
|
||||
s.version = '0.1.1'
|
||||
s.version = '0.1.2'
|
||||
s.license = 'CC0-1.0'
|
||||
s.authors = ['Jason Costello', 'GitHub, Inc.']
|
||||
s.email = ['opensource+jekyll-theme-hacker@github.com']
|
||||
@@ -12,7 +14,7 @@ Gem::Specification.new do |s|
|
||||
end
|
||||
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.add_runtime_dependency 'jekyll', '~> 3.5'
|
||||
s.add_runtime_dependency 'jekyll', '> 3.5', '< 5.0'
|
||||
s.add_runtime_dependency 'jekyll-seo-tag', '~> 2.0'
|
||||
s.add_development_dependency 'html-proofer', '~> 3.0'
|
||||
s.add_development_dependency 'rubocop', '~> 0.50'
|
||||
|
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
|
||||
bundle exec jekyll build
|
||||
bundle exec htmlproofer ./_site --check-html --check-sri --disable-external
|
||||
bundle exec htmlproofer ./_site --check-html --check-sri
|
||||
bundle exec rubocop -D
|
||||
bundle exec script/validate-html
|
||||
gem build jekyll-theme-hacker.gemspec
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'w3c_validators'
|
||||
|
||||
|
Reference in New Issue
Block a user