{"id":17043049,"url":"https://github.com/mizzy/nebel-site","last_synced_at":"2026-04-24T13:30:19.988Z","repository":{"id":3097676,"uuid":"4122857","full_name":"mizzy/nebel-site","owner":"mizzy","description":null,"archived":true,"fork":false,"pushed_at":"2022-03-24T02:23:40.000Z","size":19015,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T01:06:51.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-24T09:08:53.000Z","updated_at":"2025-01-25T23:48:23.000Z","dependencies_parsed_at":"2022-08-01T00:17:59.844Z","dependency_job_id":null,"html_url":"https://github.com/mizzy/nebel-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fnebel-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fnebel-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fnebel-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fnebel-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizzy","download_url":"https://codeload.github.com/mizzy/nebel-site/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240041070,"owners_count":19738663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-14T09:27:35.972Z","updated_at":"2026-04-24T13:30:19.949Z","avatar_url":"https://github.com/mizzy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nebel-site - A static site template for nebel\n\nThis is a site template and utilities for [nebel](https://github.com/mizzy/nebel).\n\n## How to set up\n\nClone this repository, move to its dirctory and execute bundle install.\n\n```\n$ git clone git://github.com/mizzy/nebel-site.git\n$ cd nebel-site\n$ bundle install\n```\n\n## Create and edit site template files\n\n * layouts/post.html\n   * This is a template file for each entry. Please edit this.\n * layouts/atom.xml\n   * This is a template file for an atom feed. Please edit this.\n * layouts/archive.html\n   * This is a template file for archive. Please edit this.\n * static/\n   * This is a directory for static files.You can put any files, like css, javascript, images and so on.\n   * You can make any sub directories in this directory.\n\n## Create a post file\n\nCreate a post file in posts directory.File name should be ended with \".md\" or \".markdown\".\n\nThe content of the post file is like this.\n\n```\n---\ntitle: Entry title\ndate: 2012-04-24 18:15:59 +0900\n---\n\nEntry body.You can write anything with Markdown syntax.\n\n\n```\n\n## Execute nebel command\n\n```\n$ bundle exec nebel\n```\n\nThis command process post files and put generated files in public directory.\n\nAlso this command copies all files in static directory to public directory.\n\n## Options\n\nYou can customize default behaviour of nebel with some of the options.\n\n```\n$ bin/nebel --help\nUsage: nebel [options]\n    -b, --base-url [PATH]            Serve website from a given base URL        (default '/blog')\n    -a, --archive                    Generate archive pages                     (default '/archive')\n        --no-clean-dir               Doesn't remove files in public dir\n    -h, --help                       Show this message\n```\n\n### ~/.nebelrc\n\nHey Bonus! You can automatically pass the options with `~/.nebelrc` like as below.\n\n```\n--base-url / --no-clean-dir --archive\n```\n\n## See contents with the test server\n\nExecute this command and you can see generated contents with http://localhost:5000/\n\n\n```\n$ bundle exec nebel-server\n```\n\n## Publish your contents\n\nUpload files in public directories to any servers you like.\n\n\n\n## Utilities\n\nSome utilities are included.\n\nYou can create a post file and open it with an editor easily like this.\n\n```\n$ thor post:create entry-title\n```\n\nThis command generate a post file something like posts/2012-04-24-entry-title.markdown and its content is like this.\n\n```\n---\ntitle: entry-title\ndate: 2012-04-24 19:25:34 +0900\n---\n\n```\n\n\nWith bundle exec guard, nebel command is executed automatically if files are changed.\nIf your enviroment is ready for guard-livereload, the browser page is reloaded automatically.\n\n\n```\n$ bundle exec guard\n```\n\n\nthor server:start runs following things.\n\n * Runs nebel-server\n * Opens http://localhost:5000/ with your browser\n * Executes bundle exec guard\n\n```\n$ thor server:start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fnebel-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizzy%2Fnebel-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fnebel-site/lists"}