-
+ <% for my $link (@{$post_links}) { =%>
+
- <%= link_to $link, $link %> + <% } =%> +
From 079910ad68e58106d10edd2b5bfa9281cfc51b84 Mon Sep 17 00:00:00 2001
From: swag <%= flash 'error' %> <%= flash 'info' %> <%= stash 'info' %> For mods only!! Post::Text is a textboard a bit like 2channel. You
- can post whatever you want anonymously just please mind the <%=
- link_to rules => 'rules_page' %>. Markdown is supported for
- formatting posts using the
+ Post::Text is a
+ textboard
+ a bit like 2channel. You can post whatever you want anonymously
+ just please mind the <%= link_to rules => 'rules_page' %>.
+ Markdown is supported for formatting posts using the
+
original implementation from The Daring Fireball. For example,
back-ticks are for inline code while indentation should
be used if you want an entire code bock: You can use an actual tab character or four spaces to indent.
Only Markdown is supported, HTML will be filtered
out. There is a button for users to 'flag' a post for review by a
+ There is a button for users to 'flag' a post for review by a
moderator. If you need further assistance you can reach out to the
webmaster. There is
also a 'bump' button you're free to use and abuse to your heart's
@@ -36,5 +37,5 @@ This is correct for a multi-line code block:
email client you can check out the
<%= link_to 'RSS feed', threads_feed => {format => 'rss'} %>. Click 'New' in the top navigation bar to start a new thread and
- make some -
- */
-
-span.head1 {
- display: block;
- font-size: 2em;
- margin-top: 0.67em;
- margin-bottom: 0.67em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
-}
-
-span.head2 {
- display: block;
- font-size: 1.5em;
- margin-top: 0.83em;
- margin-bottom: 0.83em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
-}
-
-span.head3 {
- display: block;
- font-size: 1.17em;
- margin-top: 1em;
- margin-bottom: 1em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
-}
-
-span.head4 {
- display: block;
- font-size: 1em;
- margin-top: 1.33em;
- margin-bottom: 1.33em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
- }
-
-span.head5 {
- display: block;
- font-size: .83em;
- margin-top: 1.67em;
- margin-bottom: 1.67em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
- }
-
-span.head6 {
- display: block;
- font-size: .67em;
- margin-top: 2.33em;
- margin-bottom: 2.33em;
- margin-left: 0;
- margin-right: 0;
- font-weight: bold;
-}
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 4fbebf2..4c4d373 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -5,9 +5,9 @@
<%= asset 'main.css' %>
-
Post::Text
-
<% if (is_mod) { =%>
-
<% if (flash 'error') { =%>
<%= title %>
-<% if ($post_links->[0]) { =%>
-
- <% for my $link (@{$post_links}) { =%>
-
-<% } =%>
+
diff --git a/templates/moderator/hidden.html.ep b/templates/moderator/hidden.html.ep
index 0f21808..1b45644 100644
--- a/templates/moderator/hidden.html.ep
+++ b/templates/moderator/hidden.html.ep
@@ -1,10 +1,12 @@
% layout 'default';
% title 'Hidden Posts';
+ <% for my $link (@{$post_links}) { =%>
+
<% } =%>
-<%= title %>
-<% if ($post_links->[0]) { =%>
-
- <% for my $link (@{$post_links}) { =%>
-
-<% } =%>
+
diff --git a/templates/moderator/index.html.ep b/templates/moderator/index.html.ep
deleted file mode 100644
index 5690044..0000000
--- a/templates/moderator/index.html.ep
+++ /dev/null
@@ -1,4 +0,0 @@
-% layout 'default';
-% title 'Top Secret';
-
+ <% for my $link (@{$post_links}) { =%>
+
<% } =%>
-<%= title %>
-<%= title %>
-enemies friends!enemies friends!
The rules here are pretty simple: