Gemベーステーマのテンプレートを作成
kiri@smtp:~/work/jekyll[1198]% jekyll new-theme jekyll-theme-whatatime
create /home/kiri/work/jekyll/jekyll-theme-whatatime/assets
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_layouts
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_includes
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_sass
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_layouts/page.html
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_layouts/post.html
create /home/kiri/work/jekyll/jekyll-theme-whatatime/_layouts/default.html
create /home/kiri/work/jekyll/jekyll-theme-whatatime/Gemfile
create /home/kiri/work/jekyll/jekyll-theme-whatatime/jekyll-theme-whatatime.gemspec
create /home/kiri/work/jekyll/jekyll-theme-whatatime/README.md
create /home/kiri/work/jekyll/jekyll-theme-whatatime/LICENSE.txt
initialize /home/kiri/work/jekyll/jekyll-theme-whatatime/.git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
create /home/kiri/work/jekyll/jekyll-theme-whatatime/.gitignore
Your new Jekyll theme, jekyll-theme-whatatime, is ready for you in /home/kiri/work/jekyll/jekyll-theme-whatatime!
For help getting started, read /home/kiri/work/jekyll/jekyll-theme-whatatime/README.md.
kiri@smtp:~/work/jekyll[1199]%
*.gemspecを修正
kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1201]% diff -u ~/work/jekyll/jekyll-theme-whatatime/jekyll-theme-whatatime.gemspec jekyll-theme-whatatheme.gemspec
--- /home/kiri/work/jekyll/jekyll-theme-whatatime/jekyll-theme-whatatime.gemspec 2022-08-04 16:32:59.864591000 +0900
+++ jekyll-theme-whatatheme.gemspec 2022-05-09 10:18:34.026688000 +0900
@@ -1,14 +1,15 @@
# frozen_string_literal: true
Gem::Specification.new do |spec|
- spec.name = "jekyll-theme-whatatime"
+ spec.name = "jekyll-theme-whatatheme"
spec.version = "0.1.0"
spec.authors = ["Kazuhiko Kiriyama"]
- spec.email = ["kiri@kx.truefc.org"]
+ spec.email = ["kiri@truefc.org"]
- spec.summary = "TODO: Write a short summary, because Rubygems requires one."
- spec.homepage = "TODO: Put your gem's website or public repo URL here."
- spec.license = "MIT"
+ spec.summary = "Jekyll Portfolio theme (thedevslot@gmail.com)"
+ spec.description = "A customizable Jekyll Portfolio theme which supports blogging written by thedevslot@gmail.com"
+ spec.homepage = "https://github.com/thedevslot/WhatATheme/"
+ spec.license = "GPL-2.0-only"
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) }
kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1202]%
gemを作成
kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1426]% rm -rf .git kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1427]% git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /home/kiri/projects/jekyll/jekyll-theme-whatatheme/.git/ kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1428]% git add -A kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1429]% git commit -m "Init commit" [master (root-commit) e0600cb] Init commit 45 files changed, 2235 insertions(+) create mode 100644 .gitignore create mode 100644 404.md create mode 100644 Gemfile create mode 100644 LICENSE create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 _config.yml create mode 100644 _data/projects.yml create mode 100644 _includes/about.html create mode 100644 _includes/blog-card.html create mode 100644 _includes/blogpage-heading.html create mode 100644 _includes/contact.html create mode 100644 _includes/dropdown.html create mode 100644 _includes/footer.html create mode 100644 _includes/head.html create mode 100644 _includes/meta.html create mode 100644 _includes/navbar.html create mode 100644 _includes/project-card.html create mode 100644 _includes/search.html create mode 100644 _includes/showcase.html create mode 100644 _layouts/404.html create mode 100644 _layouts/blog.html create mode 100644 _layouts/compress.html create mode 100644 _layouts/default.html create mode 100644 _layouts/page.html create mode 100644 _layouts/post.html create mode 100644 _layouts/project.html create mode 100644 _posts/2020-04-21-what-is-jekyll-how-to-use-it.md create mode 100644 _posts/2020-04-22-how-to-install-whatatheme.md create mode 100644 _posts/2020-04-24-sample-post.md create mode 100644 _sass/main.scss create mode 100644 assets/css/style.scss create mode 100644 assets/images/1280x720 Placeholder.png create mode 100644 assets/images/How to install and use WhatATheme.png create mode 100644 assets/images/SamplePost.png create mode 100644 assets/images/What is Jekyll and How to use it.png create mode 100644 assets/images/logo.png create mode 100644 assets/images/meta.jpg create mode 100644 assets/js/simple-jekyll-search.js create mode 100644 blog.md create mode 100644 index.md create mode 100644 jekyll-theme-whatatheme.gemspec create mode 100644 project.md create mode 100644 search.json create mode 100644 test-page.md kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1432]% gem build jekyll-theme-whatatheme.gemspec Successfully built RubyGem Name: jekyll-theme-whatatheme Version: 0.1.0 File: jekyll-theme-whatatheme-0.1.0.gem kiri@smtp:~/projects/jekyll/jekyll-theme-whatatheme[1433]%