As long as composer support in CMS is "not there yet", you need to get around somehow.
Say you want to use the (awesome) markdown library, you need a way to get it in.
- Use a container extension with a private namespace
| <!--[if mso]> | |
| <center> | |
| <table><tr><td width="580"> | |
| <![endif]--> | |
| <div style="max-width:580px; margin:0 auto;"> | |
| <p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p> | |
| </div> | |
| <!--[if mso]> |
| # Page TSConfig: | |
| tx_gridelements.setup { | |
| # ID of Element | |
| 1 { | |
| title = Two Columns | |
| config { | |
| colCount = 2 | |
| rowCount = 1 | |
| rows { | |
| 1 { |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| #!/bin/sh | |
| echo "[post-rewrite hook: $1]" | |
| # by noahgrant & digitaljhelms | |
| # | |
| # quick script to call "bower install" and "npm install" automatically if | |
| # bower.json or package.json are changed, respectively | |
| # | |
| # this assumes one top-level file for each |
| {v:resource.record.fal(record: page, field: 'media', table: 'pages') -> v:iterator.extract(key: 'id') -> v:iterator.first() -> v:var.set(name: 'pageMedia')} | |
| <f:if condition="{pageMedia}"> | |
| <v:page.header.meta name="og:image" content="{f:uri.image(src: pageMedia, treatIdAsReference: 1) -> v:format.prepend(add: '{v:page.siteUrl() -> v:format.substring(length: \'-1\')}')}" /> | |
| </f:if> |
| #!/bin/sh | |
| echo "[post-rewrite hook: $1]" | |
| # quick script to call "git submodule update" automatically if the | |
| # .gitmodules file is changed | |
| changedfiles=( `git diff-tree --no-commit-id --name-only HEAD@{1} HEAD` ) | |
| if [[ "${changedfiles[*]}" =~ ".gitmodules" ]]; then | |
| echo "initializing & updating submodule(s)" |
| hooks: | |
| after_code: | |
| - exec: | |
| cd: $home/plugins | |
| cmd: | |
| - mkdir -p plugins | |
| - git clone https://github.com/discourse/docker_manager.git | |
| - exec: | |
| cd: $home | |
| cmd: |
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream