{"id":19388899,"url":"https://github.com/james2doyle/pyro-blurb-field","last_synced_at":"2025-07-28T14:33:15.786Z","repository":{"id":7424616,"uuid":"8760272","full_name":"james2doyle/pyro-blurb-field","owner":"james2doyle","description":"Create small components with Title, Image and Body sections.","archived":false,"fork":false,"pushed_at":"2014-06-11T18:52:22.000Z","size":170,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T22:33:08.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/james2doyle.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-03-13T19:59:15.000Z","updated_at":"2015-03-26T14:32:20.000Z","dependencies_parsed_at":"2022-08-26T20:01:01.878Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/pyro-blurb-field","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/james2doyle%2Fpyro-blurb-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-blurb-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-blurb-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-blurb-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/pyro-blurb-field/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532142,"owners_count":21446126,"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-10T10:14:00.184Z","updated_at":"2025-04-23T23:31:49.666Z","avatar_url":"https://github.com/james2doyle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyro-blurb-field\n===============\n\nCreate small sections with title, image, and body content.\n\n![blurb field creation](https://raw.githubusercontent.com/james2doyle/pyro-blurb-field/master/create.png)\n\n![blurb field on page form](https://raw.githubusercontent.com/james2doyle/pyro-blurb-field/master/field.png)\n\nFeatures\n--------\n\n* Pre-set the number of blurbs/items you want\n* Choose the folder for the image dropdown\n* Add a title, image and body for each item\n* Looping tags to output data\n* Includes 0 =\u003e None option to allow no image to be set\n* Parse the body with Markdown\n\nUsage\n-----\n\n``` html\n{{ my_field_slug }}\n\u003cfieldset id=\"item{{ id }}\"\u003e\n  \u003clegend\u003e{{ title }}\u003c/legend\u003e\n  \u003c!-- check and see if the image id is not set to 0 which is none --\u003e\n  {{ if image !== 0 }}\n  \u003cimg src=\"{{ files:image_url id=image }}\"\u003e\n  {{ endif }}\n  \u003c!-- if use_markdown is checked we get html here --\u003e\n  {{ body }}\n  \u003c!-- output the url we used --\u003e\n  \u003ca href=\"{{ link }}\"\u003eREAD MORE\u003c/a\u003e\n\u003c/fieldset\u003e\n{{ /my_field_slug }}\n```\n\nIf there was 3 items, this would output:\n\n``` html\n\u003cfieldset id=\"item1\"\u003e\n  \u003clegend\u003eItem1\u003c/legend\u003e\n  \u003cimg src=\"http://website.com/files/large/crazyid.jpg\"\u003e\n  \u003cp\u003eBody Content for 1\u003c/p\u003e\n  \u003ca href=\"http://example.com\"\u003eREAD MORE\u003c/a\u003e\n\u003c/fieldset\u003e\n\u003cfieldset id=\"item2\"\u003e\n  \u003clegend\u003eItem2\u003c/legend\u003e\n  \u003cimg src=\"http://website.com/files/large/crazyid.jpg\"\u003e\n  \u003cp\u003eBody Content for 2\u003c/p\u003e\n  \u003ca href=\"http://example.com\"\u003eREAD MORE\u003c/a\u003e\n\u003c/fieldset\u003e\n\u003cfieldset id=\"item3\"\u003e\n  \u003clegend\u003eItem3\u003c/legend\u003e\n  \u003cimg src=\"http://website.com/files/large/crazyid.jpg\"\u003e\n  \u003cp\u003eBody Content for 3\u003c/p\u003e\n  \u003ca href=\"http://example.com\"\u003eREAD MORE\u003c/a\u003e\n\u003c/fieldset\u003e\n```\n\nTo Do\n-----\n\n* Add sorting/ordering\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2014 James Doyle \u003cjames2doyle@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-blurb-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fpyro-blurb-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-blurb-field/lists"}