Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move content-body and aside from generators into theme #11

Closed
wants to merge 2 commits into from

Conversation

bryanlarsen
Copy link
Member

See Hobo/hobo_bootstrap#27

The idea is to make this change in hobo_clean.dryml:

Modified   hobo_clean/taglibs/hobo_clean.dryml
diff --git a/hobo_clean/taglibs/hobo_clean.dryml b/hobo_clean/taglibs/hobo_clean.dryml
index 38f6481..c5836f6 100644
--- a/hobo_clean/taglibs/hobo_clean.dryml
+++ b/hobo_clean/taglibs/hobo_clean.dryml
@@ -56,7 +56,19 @@
           <live-search param if="&defined_route? :site_search"/>
           <main-nav current="&title" param/>
         </header>
-        <section with-flash-messages param="content"/>
+
+        <section with-flash-messages param="content">
+          <section-group>
+            <section param="main-content">
+              <header param="content-header"/>
+
+              <section param="content-body"/>
+            </section>
+
+            <aside param/>
+          </section-group>
+        </section>
+
         <footer class="page-footer" param/>
         <page-scripts param/>

And then adjust pages.dryml.erb to use content-header:, content-body: and aside: directly instead of defining them as params inside of content:.

@bryanlarsen
Copy link
Member Author

merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant