This website works better with JavaScript.
Home
Explore
Help
Sign In
tig12
/
tigsite
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Refactor sites/tig12.net/commands : add 'one-shot' directory
master
Thierry
3 years ago
parent
ff40a19efa
commit
8619adc2b9
7 changed files
with
52 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
sites/tig12.net/commands/one-shot/README
+13
-0
sites/tig12.net/commands/one-shot/insert-flex1.yml
+11
-0
sites/tig12.net/commands/one-shot/insert-flex2.yml
+17
-0
sites/tig12.net/commands/one-shot/insert-flex3.yml
+0
-0
sites/tig12.net/commands/one-shot/insert-footer.yml
+1
-1
sites/tig12.net/commands/replace-footer.yml
+8
-0
sites/tig12.net/commands/replace-sidebar-maths.yml
+ 2
- 0
sites/tig12.net/commands/one-shot/README
View File
@@ -0,0 +1,2 @@
Contains commands that were written to be executed only once
+ 13
- 0
sites/tig12.net/commands/one-shot/insert-flex1.yml
View File
@@ -0,0 +1,13 @@
#
# Executed only once
#
commandClass: insertHtml
after: '<body>'
insert-string: |
<div class="container">
<div class="main">
exclude:
- index.html
+ 11
- 0
sites/tig12.net/commands/one-shot/insert-flex2.yml
View File
@@ -0,0 +1,11 @@
#
# Executed only once
#
commandClass: insertHtml
after: '</article>'
insert-string: |
</div><!-- end class="main" -->
exclude:
- index.html
+ 17
- 0
sites/tig12.net/commands/one-shot/insert-flex3.yml
View File
@@ -0,0 +1,17 @@
#
# Executed only once
#
commandClass: insertHtml
before: '<footer>'
insert-string: |
<!-- ************************************* -->
<aside class="right">
</aside>
</div><!-- end class="container" -->
<!-- ************************************* -->
exclude:
- index.html
sites/tig12.net/commands/insertFooter.yml → sites/tig12.net/commands/one-shot/insert-footer.yml
View File
sites/tig12.net/commands/replaceFooter.yml → sites/tig12.net/commands/replace-footer.yml
View File
@@ -1,7 +1,7 @@
commandClass: replaceHtml
before: '<footer
class="footer"
>'
before: '<footer>'
after: '</footer>'
replacement-file: static/html/footer.html
#exclude:
+ 8
- 0
sites/tig12.net/commands/replace-sidebar-maths.yml
View File
@@ -0,0 +1,8 @@
commandClass: replaceHtml
before: '<aside class="right">'
after: '</aside>'
replacement-file: maths/sidebar-maths.html
#exclude:
# - index.html
Write
Preview
Loading…
Cancel
Save