mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-25 07:36:50 +00:00
Move snippet to common CoverPage.gen
This commit is contained in:
1 parent
f771e24788
commit
e235c705ae
3 files changed
+22
-9
No files matched your search
@@ -100,11 +100,25 @@ module.exports = {
|
||||
___
|
||||
|
||||
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0
|
||||
{height:100%}
|
||||
{position:absolute,bottom:0,left:0,height:100%}
|
||||
}}
|
||||
|
||||
{{logo }}
|
||||
|
||||
\page`;
|
||||
},
|
||||
|
||||
part : function() {
|
||||
return dedent`
|
||||
{{partCover}}
|
||||
|
||||
# PART X
|
||||
## ${_.sample(subtitles)}
|
||||
|
||||
{{imageMaskEdge${_.random(1, 8)},--offset:10cm,--rotation:180
|
||||
{position:absolute,bottom:0,left:0,height:100%}
|
||||
}}
|
||||
|
||||
\page`;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user