{"id":21771666,"url":"https://github.com/alensiljak/blacksmith-demo","last_synced_at":"2026-05-18T15:08:57.895Z","repository":{"id":7867636,"uuid":"9240060","full_name":"alensiljak/blacksmith-demo","owner":"alensiljak","description":"Demo site for Blacksmith templating","archived":false,"fork":false,"pushed_at":"2013-05-22T10:48:25.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T03:23:07.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/alensiljak.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":"2013-04-05T11:48:28.000Z","updated_at":"2014-01-14T18:39:41.000Z","dependencies_parsed_at":"2022-07-11T01:47:17.626Z","dependency_job_id":null,"html_url":"https://github.com/alensiljak/blacksmith-demo","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/alensiljak%2Fblacksmith-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alensiljak%2Fblacksmith-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alensiljak%2Fblacksmith-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alensiljak%2Fblacksmith-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alensiljak","download_url":"https://codeload.github.com/alensiljak/blacksmith-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244747405,"owners_count":20503379,"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-11-26T14:18:00.487Z","updated_at":"2026-05-18T15:08:52.856Z","avatar_url":"https://github.com/alensiljak.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"blacksmith-demo\n===============\n\nDemo site for Blacksmith templating.\n\nFor more details on Blacksmith, check\nhttps://github.com/flatiron/blacksmith\n\nInstall\n=======\n\tnpm install blacksmith -g\n\nRun\n===\nOpen console in the project directory (the one containing this file) and run build.cmd. This simply executes\n\tblacksmith\n\nWhen Blacksmith is run, all the rendered content goes into \n/public\n\nDirectories\n===========\n\"Pages\" directory defines what goes into the page generation. The json files define which sections of the layout will be replaced by which partials. \"Content\" is replaced by the main partial, the one with the same name as the page.\n\n\"Layouts\"\nLayout templates for web pages. \n\n\"Partials\"\nThese are HTML fragments that can be inserted into a layout, a page, or another partial. Partials for each output HTML page are specified in Pages directory.\n\n\"Content\"\nContains Markdown files with content. Think of them as posts or pages on the final site. This content is inserted into the templates.\n\nNotes\n=====\nIndex page uses content and, therefore, replaces content element with appropriate partial.\nIt is a single page so doesn't need a subdirectory in /content. Just index.md in the /content root.\n\nArticles, on the other hand, are multiple output html pages created from one template page. That is why they are in a subdirectory, named as plural of article.\n\nIf metadata in content pages is not being correctly parsed and applied, make sure the (.md) file is saved with UTF-8 encoding.\n\nLinks\n=====\nMarkdown syntax: http://daringfireball.net/projects/markdown/syntax","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falensiljak%2Fblacksmith-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falensiljak%2Fblacksmith-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falensiljak%2Fblacksmith-demo/lists"}