summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscottj <jones.scott0391@gmail.com>2021-08-21 13:01:57 -0700
committerscottj <jones.scott0391@gmail.com>2021-08-21 13:01:57 -0700
commitc3011d75e8abd6c4665dc94447f7a6b5df3ca49a (patch)
tree5fe8df1826d14e27945356827d03f34d3a26a87c
parentae664f319da06da2951ed311eadd33b7c891c648 (diff)
cleaned up file organization
-rwxr-xr-xbin/build_about2
-rwxr-xr-xbin/build_index2
-rwxr-xr-xbin/build_posts2
-rwxr-xr-xbin/build_recipe_directory2
-rw-r--r--build-files/build_about.rb (renamed from build_about.rb)0
-rw-r--r--build-files/build_index.rb (renamed from build_index.rb)0
-rw-r--r--build-files/build_posts.rb (renamed from build_posts.rb)0
-rw-r--r--build-files/build_recipe_directory.rb (renamed from build_recipe_directory.rb)0
-rw-r--r--partials/footer.html.erb (renamed from footer.html.erb)0
-rw-r--r--partials/head.html.erb (renamed from head.html.erb)0
-rw-r--r--partials/header.html.erb (renamed from header.html.erb)0
-rw-r--r--recipe-directory-template.html.erb6
-rw-r--r--recipe-template.html.erb6
-rw-r--r--template.html.erb6
14 files changed, 13 insertions, 13 deletions
diff --git a/bin/build_about b/bin/build_about
index 06d251e..da7cda8 100755
--- a/bin/build_about
+++ b/bin/build_about
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-ruby build_about.rb > output/about.html
+ruby build-files/build_about.rb > output/about.html
diff --git a/bin/build_index b/bin/build_index
index bf2025c..12b2e5a 100755
--- a/bin/build_index
+++ b/bin/build_index
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-ruby build_index.rb > output/index.html
+ruby build-files/build_index.rb > output/index.html
diff --git a/bin/build_posts b/bin/build_posts
index 1655944..c7d213b 100755
--- a/bin/build_posts
+++ b/bin/build_posts
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-ruby build_posts.rb
+ruby build-files/build_posts.rb
diff --git a/bin/build_recipe_directory b/bin/build_recipe_directory
index 91a4cf0..caefbb2 100755
--- a/bin/build_recipe_directory
+++ b/bin/build_recipe_directory
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-ruby build_recipe_directory.rb > output/recipes.html
+ruby build-files/build_recipe_directory.rb > output/recipes.html
diff --git a/build_about.rb b/build-files/build_about.rb
index 5e56ab7..5e56ab7 100644
--- a/build_about.rb
+++ b/build-files/build_about.rb
diff --git a/build_index.rb b/build-files/build_index.rb
index aae1268..aae1268 100644
--- a/build_index.rb
+++ b/build-files/build_index.rb
diff --git a/build_posts.rb b/build-files/build_posts.rb
index ec03b77..ec03b77 100644
--- a/build_posts.rb
+++ b/build-files/build_posts.rb
diff --git a/build_recipe_directory.rb b/build-files/build_recipe_directory.rb
index de61f4f..de61f4f 100644
--- a/build_recipe_directory.rb
+++ b/build-files/build_recipe_directory.rb
diff --git a/footer.html.erb b/partials/footer.html.erb
index 1853f01..1853f01 100644
--- a/footer.html.erb
+++ b/partials/footer.html.erb
diff --git a/head.html.erb b/partials/head.html.erb
index 54a1636..54a1636 100644
--- a/head.html.erb
+++ b/partials/head.html.erb
diff --git a/header.html.erb b/partials/header.html.erb
index efe40c9..efe40c9 100644
--- a/header.html.erb
+++ b/partials/header.html.erb
diff --git a/recipe-directory-template.html.erb b/recipe-directory-template.html.erb
index bbfe4dc..cd5c58a 100644
--- a/recipe-directory-template.html.erb
+++ b/recipe-directory-template.html.erb
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
- <%= render "head.html.erb" %>
+ <%= render "partials/head.html.erb" %>
<body>
- <%= render "header.html.erb" %>
+ <%= render "partials/header.html.erb" %>
<div class="content">
<%= content %>
</div>
- <%= render "footer.html.erb" %>
+ <%= render "partials/footer.html.erb" %>
</body>
</html>
diff --git a/recipe-template.html.erb b/recipe-template.html.erb
index 9c24d50..caa7b55 100644
--- a/recipe-template.html.erb
+++ b/recipe-template.html.erb
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
- <%= render "head.html.erb" %>
+ <%= render "partials/head.html.erb" %>
<body>
- <%= render "header.html.erb" %>
+ <%= render "partials/header.html.erb" %>
<div class="content">
<%= @content %>
</div>
- <%= render "footer.html.erb" %>
+ <%= render "partials/footer.html.erb" %>
</body>
</html>
diff --git a/template.html.erb b/template.html.erb
index 62b7a15..52d7041 100644
--- a/template.html.erb
+++ b/template.html.erb
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
- <%= render "head.html.erb" %>
+ <%= render "partials/head.html.erb" %>
<body>
- <%= render "header.html.erb" %>
+ <%= render "partials/header.html.erb" %>
<%= content %>
- <%= render "footer.html.erb" %>
+ <%= render "partials/footer.html.erb" %>
</body>
</html>