{"id":20580035,"url":"https://github.com/iyashwantsaini/jekyll_master","last_synced_at":"2026-04-17T22:32:34.602Z","repository":{"id":48716175,"uuid":"273556842","full_name":"iyashwantsaini/jekyll_master","owner":"iyashwantsaini","description":"Jekyll Basics","archived":false,"fork":false,"pushed_at":"2022-10-06T14:26:11.000Z","size":1363,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T11:48:17.932Z","etag":null,"topics":["jekyll","ruby","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iyashwantsaini.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-19T18:02:02.000Z","updated_at":"2020-08-18T17:23:06.000Z","dependencies_parsed_at":"2023-01-19T12:32:58.968Z","dependency_job_id":null,"html_url":"https://github.com/iyashwantsaini/jekyll_master","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iyashwantsaini/jekyll_master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyashwantsaini%2Fjekyll_master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyashwantsaini%2Fjekyll_master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyashwantsaini%2Fjekyll_master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyashwantsaini%2Fjekyll_master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyashwantsaini","download_url":"https://codeload.github.com/iyashwantsaini/jekyll_master/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyashwantsaini%2Fjekyll_master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31948461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jekyll","ruby","static-site-generator"],"created_at":"2024-11-16T06:19:49.828Z","updated_at":"2026-04-17T22:32:34.573Z","avatar_url":"https://github.com/iyashwantsaini.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## install --on ubuntu\n1. sudo apt-get install ruby-full build-essential zlib1g-dev\n2. echo '# Install Ruby Gems to ~/gems' \u003e\u003e ~/.bashrc\n3. echo 'export GEM_HOME=\"$HOME/gems\"' \u003e\u003e ~/.bashrc\n4. echo 'export PATH=\"$HOME/gems/bin:$PATH\"' \u003e\u003e ~/.bashrc\n5. source ~/.bashrc\n6. gem install jekyll bundler\n\n## crete new site\n* jekyll new site_name\n## move into site directory\n* cd site_name\n## serve site\n* for 1st run only -- bundle exec jekyll serve\n* otherwise -- jekyll serve\n\n## frontmatter\n* it is the info about our blogpost -- i.e main info\n* write either in yaml or json\n* changing \"category\" can change url of post\n* we can create our own variables as well\n\n## more styling \n* we can create files in html instead of md directly\n\n## organising\n* make sub directories to organise\n* it will not effect how jekyll renders pages\n\n## drafts\n* contains posts that are not yet published\n* can be accessed by : jekyll serve --draft\n* we may not name the draft with date in front\n* it will automatically get last modified date\n\n## pages\n* 2 types of pages\n** 1. general pages\n** 2. posts\n* eg. donate page in project root \n** /donate\n* eg. support page in pagesdir folder\n** /pagesdir/support\n\n## permalink\n* permanent url assigned to page of site\n* so if date and title changes url remains same always\n* eg. permalink: \"put_url_here/url_here\"\n* eg. using some varible in url permalink: \"/:categories/:year/:month:/title\" \n\n## default frontmatter\n* defined in config.yml to be set as default to some pages\n\n## themes\n* many themes available\n* https://rubygems.org/search?utf8=%E2%9C%93\u0026query=jekyll-theme\n* eg. jekyll-theme-hacker --\"add it to GemFile\"\n* bundle install -- to install the new theme\n* change theme in config.yml\n* themes may not have the layouts that you are using so update your layouts\n \n## layouts\n* we can override already given layouts from the theme\n* eg. in layouts/page.html\n* we can create levels of layout \n\n## variables\n* can be accessed using {{}}\n\n## includes\n* header and footer \n* in \"_includes\" folder\n* eg. {% include header.html %}\n* eg. {% include header.html color=\"blue\" %} --passing var to header\n\n## looping posts\n* eg. in home.html\n{% for post in site.posts %}\n\u003cli\u003e\u003ca href=\"{{ post.url }}\"\u003e{{post.title}}\u003c/a\u003e\u003c/li\u003e \u003cbr\u003e\n{% endfor %}\n\n## conditionals\n* eg. in post.html\n* \"and\" , \"or\" for more conditions\n{% if page.title == \"this will override one as title\" %}\n\u003ch3\u003eif condition\u003c/h3\u003e\n{% elsif %}\n\u003ch3\u003eyo\u003c/h3\u003e\n{% else %}\n\u003ch3\u003eelse condition\u003c/h3\u003e\n{% endif %}\n\n## data files\n* simple storage for our static file\n* can be json / yml / csv etc.\n* inside \"_data\" folder\n\n## static files\n* js, css, images for styling\n* we can also give frontmatter to the static files -- in config.yml\n\n## publish on github pages\n* modify --config.yml\n* baseurl: \"your_repo_name\" \n* or \n* baseurl: \"put_your_custom_domain_name\"\n* git checkout -b gh-pages\n* git status\n* git push all files\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyashwantsaini%2Fjekyll_master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyashwantsaini%2Fjekyll_master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyashwantsaini%2Fjekyll_master/lists"}