Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Nov 2, 2020
1 parent 10add72 commit 67216b3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions info.art
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
description: "HTML generation module for Bootstrap 4"
version: "0.1"
dependencies: [
'html
]
author: "Yanis Zafirópulos"
24 changes: 24 additions & 0 deletions main.art
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
do.import module 'html

bootstrap: function [ttl,main][
html [
head [
meta.charset: "utf-8" []
meta.name: "viewport" .content:"width=device-width, initial-scale=1, shrink-to-fit=no" []

link.rel: "stylesheet" .href:"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" []

title ttl
]
body [
do main

script.src: "https://code.jquery.com/jquery-3.5.1.slim.min.js" []
script.src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" []

script.src: "https://code.jquery.com/jquery-3.5.1.slim.min.js" []
script.src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" []
script.src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" []
]
]
]

0 comments on commit 67216b3

Please sign in to comment.