From 48b95ffd2aa9305ae5060d98dc5e60e62b2d0d20 Mon Sep 17 00:00:00 2001 From: test123 <2104935+Liongrass@users.noreply.github.com> Date: Fri, 7 Apr 2023 12:45:04 -0700 Subject: [PATCH 1/2] initialization --- .github/FUNDING.yml | 13 ++ .gitignore | 9 +- 404.html | 25 ++ Gemfile | 4 + Gemfile.lock | 82 +++++++ LICENSE.txt | 21 ++ README.md | 154 +++++++++++++ _config.yml | 51 +++++ _data/home.yml | 115 ++++++++++ _includes/card_list.html | 26 +++ _includes/custom_head.html | 3 + _includes/date_and_social_share.html | 31 +++ _includes/head.html | 35 +++ _includes/horizontal_list.html | 10 + _includes/post_list.html | 12 + _includes/toggle_theme_button.html | 10 + _includes/toggle_theme_js.html | 31 +++ _includes/vertical_list.html | 19 ++ _layouts/blog.html | 10 + _layouts/default.html | 27 +++ _layouts/home.html | 46 ++++ _layouts/post.html | 8 + _posts/2020-07-07-overview-post.md | 85 +++++++ _posts/2020-07-08-language-tests.md | 51 +++++ ...-title-and-very-very-very-short-content.md | 5 + ...7-09-post-example-with-headings-and-toc.md | 26 +++ _posts/2021-01-08-code.md | 122 ++++++++++ _posts/2021-03-04-soopr.md | 18 ++ _sass/list.scss | 57 +++++ _sass/moonwalk.scss | 215 ++++++++++++++++++ _sass/syntax.scss | 73 ++++++ _screenshots/lighthouse-report.png | Bin 0 -> 538982 bytes _screenshots/moonwalk-mono.png | Bin 0 -> 664344 bytes _screenshots/moonwalk.png | Bin 0 -> 197200 bytes _screenshots/twitter_card.png | Bin 0 -> 213258 bytes about.md | 8 + assets/css/main.scss | 6 + .../images/favicon/android-chrome-192x192.png | Bin 0 -> 4364 bytes .../images/favicon/android-chrome-256x256.png | Bin 0 -> 6330 bytes assets/images/favicon/apple-touch-icon.png | Bin 0 -> 2955 bytes assets/images/favicon/browserconfig.xml | 9 + assets/images/favicon/favicon-16x16.png | Bin 0 -> 549 bytes assets/images/favicon/favicon-32x32.png | Bin 0 -> 821 bytes assets/images/favicon/favicon.ico | Bin 0 -> 15086 bytes assets/images/favicon/mstile-150x150.png | Bin 0 -> 3288 bytes assets/images/favicon/safari-pinned-tab.svg | 19 ++ assets/images/favicon/site.webmanifest | 19 ++ bin/bootstrap | 6 + bin/start | 3 + blog.html | 3 + favicon.ico | Bin 0 -> 1406 bytes github_pages.md | 15 ++ images/.gitkeep | 0 index.md | 3 + logo.png | Bin 0 -> 5328 bytes moonwalk.gemspec | 20 ++ moonwalk_on_windows.md | 9 + robots.txt | 0 58 files changed, 1510 insertions(+), 4 deletions(-) create mode 100644 .github/FUNDING.yml create mode 100644 404.html create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 _config.yml create mode 100644 _data/home.yml create mode 100644 _includes/card_list.html create mode 100644 _includes/custom_head.html create mode 100644 _includes/date_and_social_share.html create mode 100644 _includes/head.html create mode 100644 _includes/horizontal_list.html create mode 100644 _includes/post_list.html create mode 100644 _includes/toggle_theme_button.html create mode 100644 _includes/toggle_theme_js.html create mode 100644 _includes/vertical_list.html create mode 100644 _layouts/blog.html create mode 100644 _layouts/default.html create mode 100644 _layouts/home.html create mode 100644 _layouts/post.html create mode 100644 _posts/2020-07-07-overview-post.md create mode 100644 _posts/2020-07-08-language-tests.md create mode 100644 _posts/2020-07-08-very-very-very-long-title-and-very-very-very-short-content.md create mode 100644 _posts/2020-07-09-post-example-with-headings-and-toc.md create mode 100644 _posts/2021-01-08-code.md create mode 100644 _posts/2021-03-04-soopr.md create mode 100644 _sass/list.scss create mode 100644 _sass/moonwalk.scss create mode 100644 _sass/syntax.scss create mode 100644 _screenshots/lighthouse-report.png create mode 100644 _screenshots/moonwalk-mono.png create mode 100644 _screenshots/moonwalk.png create mode 100644 _screenshots/twitter_card.png create mode 100644 about.md create mode 100644 assets/css/main.scss create mode 100644 assets/images/favicon/android-chrome-192x192.png create mode 100644 assets/images/favicon/android-chrome-256x256.png create mode 100644 assets/images/favicon/apple-touch-icon.png create mode 100644 assets/images/favicon/browserconfig.xml create mode 100644 assets/images/favicon/favicon-16x16.png create mode 100644 assets/images/favicon/favicon-32x32.png create mode 100644 assets/images/favicon/favicon.ico create mode 100644 assets/images/favicon/mstile-150x150.png create mode 100644 assets/images/favicon/safari-pinned-tab.svg create mode 100644 assets/images/favicon/site.webmanifest create mode 100755 bin/bootstrap create mode 100755 bin/start create mode 100644 blog.html create mode 100644 favicon.ico create mode 100644 github_pages.md create mode 100644 images/.gitkeep create mode 100644 index.md create mode 100644 logo.png create mode 100644 moonwalk.gemspec create mode 100644 moonwalk_on_windows.md create mode 100644 robots.txt diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..8e72835 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: [abhinavs] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: ['https://www.buymeacoffee.com/abhinavs'] diff --git a/.gitignore b/.gitignore index 2ca8682..3d56b82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -_site/ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata +*.gem +.bundle +.jekyll-cache +.sass-cache +_site diff --git a/404.html b/404.html new file mode 100644 index 0000000..4c69a30 --- /dev/null +++ b/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: post +--- + + + +
Page not found :(
+The requested page could not be found.
+
+
+
+
+## Quick Installation
+1. [Fork this repository](https://github.com/abhinavs/moonwalk/fork).
+2. `cd moonwalk`
+3. `bin/bootstrap`
+4. [Optional] Sign up on Soopr, and add your `publish_token` in `_config.yml` file.
+
+If you are installing Moonwalk on Windows, please note that you might have to use Ruby 3.0.x instead of Ruby 3.1.x - you can see Windows specific installation instructions [here](https://github.com/abhinavs/moonwalk/blob/master/moonwalk_on_windows.md)
+
+## Starting Server
+`bin/start` - development server will start at http://127.0.0.1:4000
+
+## Deployment
+Moonwalk can be easily deployed on all the cloud providers (AWS etc.), and on static website hosting services like Netlify & Vercel. You can also use this button to do one click deploy
+
+
+## Contributing
+
+Bug reports and pull requests are welcome on GitHub at https://github.com/abhinavs/moonwalk.
+
+## Development
+
+To set up your environment to develop this theme, run `bundle install`.
+
+Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
+
+When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
+To add a custom directory to your theme-gem, please edit the regexp in `moonwalk.gemspec` accordingly.
+
+## Acknowledgement
+This theme's original base is [no style please!](https://github.com/riggraz/no-style-please) theme created by [Riccardo Graziosi](https://riggraz.dev/) - many thanks to him for creating a wonderful theme with nearly no css.
+
+## License
+
+The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
+
+## Other Projects
+If you like Moonwalk, do check out my other projects
+* [cookie](https://github.com/abhinavs/cookie) - a free landing website boilerplate using Jekyll and Tailwind CSS
+* [scoop](https://github.com/abhinavs/scoop) - a Sinatra boilerplate project using Corneal, ActiveRecord, Capistrano, Puma & Nginx
+* [soopr](https://www.soopr.co) - a tool that supports you in content marketing
+* [apicagent](https://www.apicagent.com) - a FREE API that extracts device details from user-agent string
+* [pincodr](https://pincodr.apiclabs.com) - a FREE API for Indian pincodes
+* [humangous](https://www.humangous.co) - create public and private 'working with you' guides
+* [blockr](https://www.abhinav.co/blockr) - a CLI tool to help you easily block and unblock websites
+* [microrequests](https://www.abhinav.co/microrequests) - a Python library to help you consume microservice efficiently
+
+✨⚡You can read more about me on my [blog](https://www.abhinav.co/about/) or follow me on Twitter - [@abhinav](https://twitter.com/abhinav)
+
+✨⚡If you like my work, you can [buy me a coffee](https://buymeacoffee.com/abhinavs)
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 0000000..ef166c5
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1,51 @@
+title: Node Academy
+author: Vancouver Bitcoiners
+url: https://www.codeacademy.org # root address of the site
+description: > # description of the site (multiple lines allowed)
+ Node Academy is an initiative of Vancouver Bitcoiners to help enthusiasts getting started with their own Bitcoin Lightning Network node. It is part of the Pacific Nodewest noderunners community and open to everyone.
+
+permalink: /:slug
+
+favicon: "./logo.png" # relative path to site's favicon
+
+twitter:
+ username: pacificnodewest # update or delete this
+ card: summary_large_image
+
+#theme: moonwalk # if you are using GitHub Pages, change it to remote_theme: abhinavs/moonwalk
+remote_theme: abhinavs/moonwalk
+
+theme_config:
+ appearance: "dark" # can be "light", "dark" or "auto"
+ appearance_toggle: true # if appearance can be switched by user
+ back_home_text: "home.." # customize text for homepage link in post layout
+ date_format: "%Y-%m-%d" # customize how date is formatted
+ show_description: true # show blog description
+ show_navbar: true # show horizontal navbar
+ show_footer: true # show footer links in home page,add in _data/home.yml
+ show_copyright: true # show copyright notice in footer
+ # following keys are using to create home layout
+ show_projects: true # show projects as cards, add in _data/home.yml
+ show_blog: true # show blog posts added in _posts
+ show_resources: false # show old projects as cards, add in _data/home.yml
+ show_misc_list: false # show generic vertical list for misc details, add _data/home.yml
+ show_reading_time: true # show number of words and reading time in the blog posts
+ show_tags: true # show tags in a blog posts
+ # options for "home" page
+ home:
+ title_projects: Courses
+ title_misc_list: Details
+ title_blog: Course contents
+ title_resources: Additional Resources
+
+soopr:
+ publish_token: "" # sign up at https://www.soopr.co to get your publish token and personalize share and reaction options
+
+highlighter: rouge
+
+sass:
+ style: :compressed
+
+plugins:
+ - jekyll-feed
+ - jekyll-soopr-seo-tag
diff --git a/_data/home.yml b/_data/home.yml
new file mode 100644
index 0000000..b42b00b
--- /dev/null
+++ b/_data/home.yml
@@ -0,0 +1,115 @@
+navbar_entries:
+ - title: about
+ url: about
+
+ - title: blog
+ url: blog
+
+ - title: website
+ url: https://www.nodeacademy.org
+
+ - title: community
+ url: https://amboss.space/community/4a8adb4b-3c42-4830-8363-32fab846d1ff
+
+project_entries:
+ - title: Introduction
+ url: overview-post
+ desc: Introduction to the academy. Decisions you will have to make.
+
+ - title: Chapter 1
+ url: overview-post
+ desc: Get your machine ready or acquire a new VPS.
+
+ - title: Chapter 2
+ url: overview-post
+ desc: Introduction to the command line.
+
+ - title: Chapter 3
+ url: overview-post
+ desc: Installing Bitcoin Core.
+
+ - title: Chapter 4
+ url: overview-post
+ desc: Installing LND.
+
+ - title: Chapter 5
+ url: overview-post
+ desc: Get started with LND.
+ highlight: Objective
+
+ - title: Chapter 6
+ url: overview-post
+ desc: Connect to Zeus and Lightning Terminal
+
+ - title: Chapter 7
+ url: overview-post
+ desc: Install Thunderhub/RTL/LNbits
+
+ - title: Chapter 8
+ url: overview-post
+ desc: Maintain your node
+
+resources:
+ - title: Soopr
+ url: https://www.soopr.co
+ desc: Delight your readers - add beautiful share and like buttons easily to your websites
+ highlight: NEW
+
+ - title: Cookie
+ url: https://github.com/abhinavs/cookie
+ desc: An open source landing website with supporting pages and integrated blog
+
+ - title: Moonwalk
+ url: https://github.com/abhinavs/moonwalk
+ desc: A fast and minimalist Jekyll blog theme with clean dark mode
+
+ - title: Humangous
+ url: https://www.humangous.co
+ desc: The better people know you, the better they collaborate
+
+footer_entries:
+ - title: Vancouver Bitdevs
+ url: https://bitdevs.ca
+
+ - title: twitter
+ url: https://twitter.com/pacificnodewest
+
+ - title: github
+ url: https://github.com/VancouverBitdevs
+
+ - title: feed
+ url: feed.xml
+
+misc_entries:
+ - title: this is an example vertical list
+ url: false
+
+ - title: you can show or hide using a boolean flag in _config.yml
+ url: false
+
+ - title: and you can add data in _data/home.yml
+ url: false
+
+ - title: Blog posts
+ post_list: true
+ url: false
+
+ - title: moonwalk on the Internet
+ url: false
+ entries:
+ - title: on Github
+ url: https://github.com/abhinavs/moonwalk
+
+ - title: originally built for abhinav's homepage
+ url: https://www.abhinav.co
+
+ - title: this list is scalable and can be nested
+ url: false
+ entries:
+ - title: this is nested inside a nested list
+ url: false
+
+ - title: it is easy to use, see _data/home.yml to see how to configure it.
+ url: false
+
+
diff --git a/_includes/card_list.html b/_includes/card_list.html
new file mode 100644
index 0000000..29c4461
--- /dev/null
+++ b/_includes/card_list.html
@@ -0,0 +1,26 @@
++ {{ item.desc }} +
+ {% endif %} + ++ {% if page.author %} + {{ page.author }} / + {% endif %} + {% if page.date %} + {{ page.date | date: "%B %Y"}} + {% endif %} + +{% if site.theme_config.show_reading_time == true %} + {% capture words %} + {{ content | number_of_words | minus: 180 }} + {% endcapture %} + {% unless words contains '-' %} + {{ words | strip | prepend: '(' | append: ' Words, ' }} + {{ words | plus: 180 | divided_by: 180 | append: ' Minutes)' }} + {% endunless %} +{% endif %} +
+ +{{ site.description }}
+ {% endif %} +$`0XqZB$hOCP@4iUHrAGTCm#-c2M~49tw(4qKfy0>!ka^v9PAeTo9;5wdp3{
zw33b+$9fr6-6LivmN|`;{=Lh5
z$c%S^6$&Tw?SQ*EW$bKQ?FHTi!z}k9o}Pt}U;eH-*E;T{tBHZc!ufBnp4#lzJBsk!
z`Jwc1(^1wE8j|j}S+Q&}ZZmE+ZX+|4y?+agdtyz8AW=R1V*F-n?&yrA%nr%_9?<_l
zGJgWx(nPotKBWfD6i7$ww~y1p=+}|H5@6t1#efj~pkW&=D8U>s-6_2no*FAMWVemU
z?
7o$Se%=tBAy
zM8j68hEEEwJq#RUYN&ucM)w1WwuuWI!rM3qGD7>o@@G|LAhSj4UHqma6yx~Y*Y|WU
zcH)w7EG70Q9Pa9L+(Y3fo*MZT|@(jD{
zd!d9(0w#)ar}ZIP^X?AKZ%ZI>qYn&nYp}AG3Bql#=Vu2ZD4>9$Bs7210A^MSP#dNI
zn6NzU(x1$|8lxm!J}EhR5?YD5NOOcV!_5-(`;3FB%oo
5;bDGAkhR2UhY
y@H#nEo_cw3%8wzb?J(N6mNz-e!cJ3?C!oIegj5hv$nBH$I
zCc$gu|B)19v(^`Nr?zWlmM%kZQ2x|emKTbA+GCWqvSUrP2a5+>b-PD|Z#(5Llwt4J
z=Y*{+3bR8;Rz(R!3nkQ>x{2l=j&K8Gv^M$mqCxKTupm|ztK#3|tk-1`uY18hcp;GF
zTFKLzd#Z9#I-2#l`WNF8v&Ii%7wZo+yjTyS=ZNM@q{W9PbGGlYA{q$|ZN0;>zV
zA8-t0HTL*wuBF^XE52HNx+D7sw=ZNs^YAGeo!MxiJ^7UrFdTMUzTx!_?_$%4iNRnc
zh$Twq$pj?W`St5t4u!3EN$jQ+fb9ES7NF-V>l(5H{&A})1-*g`Kp#$XHDAo<#eKdJ
zed$|%)^P&j;FXPYwp@vhpG`gXzM@%Fya0I%koj1WELe-3t11AQ(v>;u+|%2RG``I>
z(CN7?qiz>}Mn22VtA^F&oQ;nY!ul!H((jJ#43U44J>*KaQ$@TJ6pKFg8`#xbl;vFX
zWo_