{"id":18378318,"url":"https://github.com/tyom/middleman-skeleton","last_synced_at":"2025-07-22T08:06:01.128Z","repository":{"id":20125739,"uuid":"23395714","full_name":"tyom/middleman-skeleton","owner":"tyom","description":"Preconfigured Middleman template: Slim, Bourbon+Neat, Font Awesome and a handful of helpers.","archived":false,"fork":false,"pushed_at":"2014-10-02T18:35:01.000Z","size":280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T17:09:59.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/tyom.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":"2014-08-27T15:48:56.000Z","updated_at":"2014-09-29T23:11:14.000Z","dependencies_parsed_at":"2022-08-03T15:10:23.141Z","dependency_job_id":null,"html_url":"https://github.com/tyom/middleman-skeleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyom/middleman-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyom%2Fmiddleman-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyom%2Fmiddleman-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyom%2Fmiddleman-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyom%2Fmiddleman-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyom","download_url":"https://codeload.github.com/tyom/middleman-skeleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyom%2Fmiddleman-skeleton/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266455205,"owners_count":23931357,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T00:32:58.167Z","updated_at":"2025-07-22T08:06:01.098Z","avatar_url":"https://github.com/tyom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Middleman Skeleton\n==================\n\nMiddleman template pre-configured with [Slim](https://github.com/slim-template/slim), [Bourbon](https://github.com/thoughtbot/bourbon) + [Neat](https://github.com/thoughtbot/neat), [Normalize CSS](https://github.com/JohnAlbin/normalize-scss), [Font Awesome Sass](https://github.com/FortAwesome/font-awesome-sass), [Autoprefixer](https://github.com/porada/middleman-autoprefixer), LiveReload and a few useful helpers.\n\n### Installation\n\nPast the following in your terminal. This install this Middleman template in `~/.middleman/skeleton`.\n\n```\n(export D=~/.middleman/skeleton; mkdir -p ${D}; curl -L https://github.com/tyom/middleman-skeleton/tarball/master | tar --strip-components=1 -C ${D} -xf-)\n```\n\nTo start new projects based on this template:\n```\nmiddleman init my-new-project -T skeleton\n```\n\n### Template helpers\n\n#### `resources_for`\nList resources for a specific path.\n\nParameters:\n  - `path` - required.\n  - `ext` - optional. Resource extension (defaults to `html`)\n  - `exclude_indexes` - optional. Whether to exclude directory indexes from the list of resources (defaults to `false`)\n\n#### `local_data`\nLoad local data from YAML or JSON file. e.g. `= local_data '../data.yaml'\n\nParameters:\n  - `path` - required. Relative path to YAML file, including file extension.\n\n#### `get`\nMake an HTTP GET request using [Rest Client](https://github.com/rest-client/rest-client).\n\nParameters:\n  - `url` - required. Resource URL.\n  - `options` - optional. Headers or parameters.  \n     e.g. `= get 'https://user:password@api.example.com/resource', { params: { filter: 'desc' }, accept: 'application/json' }`\n\n#### `post`\nMake an HTTP POST request using [Rest Client](https://github.com/rest-client/rest-client).\n\nParameters:\n  - `url` - required. Resource URL.\n  - `params` - optional. Parameters. Passing Ruby hash will force Content-Type to `application/x-www-form-urlencoded`. To use custom Content-Type quote passed JSON.  \n     e.g. `= post 'https://user:password@api.example.com/resource', '{ \"name\": \"Bob\" }'`\n  - `headers` - optional. Custom headers  \n     e.g. `= post 'https://user:password@api.example.com/resource', '{}' { accept: 'application/json' }`\n\n### Frontmatter\n\nThere are two special parameters set in [Middleman’s Frontmatter](http://middlemanapp.com/basics/frontmatter/):\n`javascripts` and `stylesheets`. When set, JavaScript and stylesheets are inserted in that particular page.\n\nThis is useful for prototyping or creating a page that is different from all other pages in style or functionality (or both).\n\nThe parameters can be plural or singular and can take YAML list, single name or comma separated list of names. Paths can be absolute or relative as well as external URL. If prefixed with `/` `source` directory will be used as root. Dot-prefixes are accepted for relative paths. `.css`, `.js` extensions are optional. Files can be in CoffeeScript or Sass (save as `name.css.scss`), Middleman will take care of finding and processing the file.\n\nFor example:\n\n```yaml\n---\n  stylesheet: ../style\n  javascripts: my-app.js, /assets/javascripts/global\n---\n\n---\n  stylesheets:\n    - http://static.bbci.co.uk/h4base/0.209.13/style/h4base.css\n    - ./bbc-local\n  javascripts:\n    - ../../above.js\n    - further/down.js\n---\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyom%2Fmiddleman-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyom%2Fmiddleman-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyom%2Fmiddleman-skeleton/lists"}