{"id":18434705,"url":"https://github.com/assemble/assemble-swig","last_synced_at":"2025-04-07T19:31:53.784Z","repository":{"id":8361502,"uuid":"9926406","full_name":"assemble/assemble-swig","owner":"assemble","description":"Assemble engine plugin for swig templates.","archived":false,"fork":false,"pushed_at":"2013-09-14T07:57:47.000Z","size":137,"stargazers_count":10,"open_issues_count":5,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-23T00:02:16.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/assemble.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-08T02:11:34.000Z","updated_at":"2017-12-30T08:10:23.000Z","dependencies_parsed_at":"2022-08-07T04:00:54.049Z","dependency_job_id":null,"html_url":"https://github.com/assemble/assemble-swig","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/assemble%2Fassemble-swig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-swig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-swig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-swig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assemble","download_url":"https://codeload.github.com/assemble/assemble-swig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716351,"owners_count":20984225,"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-06T06:05:00.814Z","updated_at":"2025-04-07T19:31:53.433Z","avatar_url":"https://github.com/assemble.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assemble-swig [![NPM version](https://badge.fury.io/js/assemble-swig.png)](http://badge.fury.io/js/assemble-swig)  [![Build Status](https://travis-ci.org/assemble/assemble-swig.png?branch=master)](https://travis-ci.org/assemble/assemble-swig)\n\n\u003e Assemble engine plugin for processing swig templates.\n\n## Getting Started\n\n```shell\nnpm install assemble-swig --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('assemble-swig');\n```\n\n## The \"assemble\" task\n_Run this task with the `grunt assemble` command._\n\n### Overview\nIn your project's Gruntfile, add a section named `assemble` to the data object passed into `grunt.initConfig()`.\n\n#### Usage Example\n\n```js\ngrunt.initConfig({\n  assemble: {\n    options: {\n      engine: 'swig',\n      swig: {\n        varControls: [\"\u003c%=\", \"%\u003e\"]\n      }\n    },\n    site: {\n      files: {\n        '_gh_pages/': ['src/templates/**/*.swig']\n      }\n    }\n  }\n});\n```\n### Options\n\n#### [options.engine](http://assemble.io/docs/options-engine.html)\nType: `String`\n\nSpecify `swig` as the current engine for processing templates:\n\n```js\nassemble: {\n  options: {\n    engine: 'swig'\n  }\n}\n```\n\n\n## Related projects\n\n* [sublime-swig](https://github.com/jonschlinkert/sublime-swig) syntax highlight for Swig Templates, in Sublime Text.\n* [sublime-monokai-extended](https://github.com/jonschlinkert/sublime-monokai-extended)\n* [sublime-markdown-extended](https://github.com/jonschlinkert/sublime-markdown-extended)\n* [assemble](http://github.com/assemble) (see the [live docs](http://assemble.io))\n* [assemble-swig](http://github.com/assemble/assemble-swig)\n* [assemble-swig-examples](http://github.com/assemble/assemble-swig-examples)\n\n\n\n## Release History\n\n * 2013-08-07   v0.1.0   New Assemble engine plugin for swig templates.\n\n***\n\nProject authored by [Brian Woodward](https://github.com/doowb/).\n\n_This file was generated on Wed Sep 11 2013 22:50:17._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemble%2Fassemble-swig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemble%2Fassemble-swig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemble%2Fassemble-swig/lists"}