21 Commits

Author SHA1 Message Date
1e1e5fc72f Update 'jekyll-theme-hacker.gemspec' 2021-06-19 15:08:25 +00:00
Parker Moore
7b7303abef Merge pull request #59 from pages-themes/github-actions
Add test CI workflow on GitHub Actions
2020-08-08 14:55:10 -04:00
Parker Moore
4cc4b8f123 Merge branch 'master' into github-actions 2020-08-08 14:46:29 -04:00
Parker Moore
20f7fc192f Create .github/workflows/ci.yaml 2020-08-08 14:45:43 -04:00
Parker Moore
4c729f069e Separate build & test 2020-08-08 14:33:06 -04:00
Parker Moore
240a7c1e3f Disable Gemspec/RequiredRubyVersion 2020-08-08 14:26:40 -04:00
Parker Moore
8113e87bc0 Update ci.yaml 2020-08-08 14:11:34 -04:00
Parker Moore
6ea85f72d1 On: push 2020-08-08 14:10:57 -04:00
Parker Moore
df4e31bad2 Add test CI workflow 2020-08-08 14:08:41 -04:00
Parker Moore
f73475f35f Release 💎 v0.1.2 2020-08-08 13:51:10 -04:00
Parker Moore
af4f3167c1 Update docs/CONTRIBUTING.md 2020-08-08 13:44:58 -04:00
Parker Moore
32e233c327 Update docs/SUPPORT.md 2020-08-08 13:44:57 -04:00
Parker Moore
4404f41b9b Update .github/config.yml 2020-08-08 13:44:55 -04:00
Ben Balter
b5d117c1bc Merge pull request #49 from tswfi/show_full_header_for_small_displays
Show full header h1 for smaller displays
2020-01-27 11:11:24 -05:00
Tatu Wikman
d0d25c55a0 Show full header h1 for smaller displays
The prefix "./" would be lost in mobile displays and when the browser viewport
is smaller than the container width.

This removes the left margin from the header for smaller displays. Also adds a scss variable
so that its easy to change the point where the "mobil" margin is applied.
2020-01-27 12:32:34 +02:00
Ben Balter
7baf14d73e Merge pull request #47 from malteada/master
feat: Return to home on click page title
2019-11-05 16:45:01 -05:00
LuisEnMarroquin
38c6de70e4 Separate style and relative_url on title a tag 2019-11-05 15:23:40 -06:00
LuisEnMarroquin
001a5a5576 feat: Return to home on click page title 2019-11-05 13:02:51 -06:00
Parker Moore
e193e8e825 Fix linting errors & fix GitHub asset URL 2019-05-28 13:33:49 -04:00
Ben Balter
b3223aa1b5 lessen Jekyll dependency 2019-03-22 10:24:49 -04:00
Ben Balter
f2539643a8 bump ruby version in .travis.yml to 2.5ma 2019-01-28 10:50:52 -05:00
13 changed files with 62 additions and 24 deletions

4
.github/config.yml vendored
View File

@@ -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 couldnt 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 couldnt 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)."

14
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,14 @@
on: push
jobs:
build:
runs-on: ubuntu-latest
name: script/cibuild
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: build
run: script/bootstrap
- name: test
run: script/cibuild

View File

@@ -4,3 +4,6 @@ AllCops:
Metrics/LineLength:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false

View File

@@ -1,7 +1,6 @@
language: ruby
cache: bundler
sudo: false
rvm: 2.2
rvm: 2.6
install: script/bootstrap
script: script/cibuild

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
source 'https://rubygems.org'
gemspec

View File

@@ -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">

View File

@@ -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;
}

View File

@@ -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

View File

@@ -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)

View File

@@ -94,7 +94,7 @@ end
### Small image
![Octocat](https://assets-cdn.github.com/images/icons/emoji/octocat.png)
![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png)
### Large image

View File

@@ -1,18 +1,20 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = 'jekyll-theme-hacker'
s.version = '0.1.1'
s.name = 'jekyll-theme-cracker'
s.version = '0.1.2'
s.license = 'CC0-1.0'
s.authors = ['Jason Costello', 'GitHub, Inc.']
s.email = ['opensource+jekyll-theme-hacker@github.com']
s.homepage = 'https://github.com/pages-themes/hacker'
s.summary = 'Hacker is a Jekyll theme for GitHub Pages'
s.authors = ['Jason Costello', 'GitHub, Inc.', 'Atlas Cove']
s.email = ['Atlas48@gmx.com','opensource+jekyll-theme-hacker@github.com']
s.homepage = 'https://git.sdf.org/Atlas48/cracker'
s.summary = 'Cracker is a Jekyll theme forcked from hacker'
s.files = `git ls-files -z`.split("\x0").select do |f|
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
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'

View File

@@ -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

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'w3c_validators'