~swisschili/blackjack

d3424e56ec06271e983ed46efe7cf1617c097c53 — swissChili 5 months ago dda8d0c
Add static files
2 files changed, 8 insertions(+), 0 deletions(-)

M blackjack.lua
A static/styles.css
M blackjack.lua => blackjack.lua +5 -0
@@ 85,6 85,8 @@ Site = {
  content = "content",
  -- Output directory
  output = "site",
  -- Static file directory
  static = "static",
  -- File processor objects
  processors = {
    html = HtmlProcessor,


@@ 137,4 139,7 @@ function Site:build()
      os.exit(1)
    end
  end

  print("  Copying: " .. self.static)
  io.popen('cp -r "' .. self.static .. '" "' .. self.output .. '/static/"')
end

A static/styles.css => static/styles.css +3 -0
@@ 0,0 1,3 @@
h1 {
  color: green;
}