Skip to content

Commit 69ab737

Browse files
committed
Fix broken homepage and setup about page
1 parent a2f099c commit 69ab737

File tree

9 files changed

+79
-138
lines changed

9 files changed

+79
-138
lines changed

app/config/sculpin_kernel.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ sculpin_content_types:
22
posts:
33
permalink: blog/:year/:month/:day/:filename/
44
sculpin_theme:
5-
theme: memtech/memtech-sculpin
5+
theme: memtech/memtech_v2

source/about.html.twig

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
layout: default
3+
title: About
4+
5+
---
6+
<section class="our-causes">
7+
<div class="container">
8+
<div class="row">
9+
<div class="col-xs-12">
10+
<div class="page-header section-header clearfix">
11+
<h2>Memphis Technology Foundation is a group of people with a diverse interest in technology
12+
looking to raise the tech tide in Memphis, TN.</h2>
13+
<h3>For more information, view our <a href="/about/faqs">Frequently Asked Questions</a>.</h3>
14+
</div>
15+
<div class="page-group">
16+
<h3>What is Memphis Technology Foundation?</h3>
17+
<p>
18+
Memphis Technology Foundation is a group of people in Memphis with a diverse interest in Technology.
19+
We are user group leaders and participants interested in learning and growing our community.
20+
</p>
21+
<p>
22+
For more information, view our <a href="/about/faqs">Frequently Asked Questions</a>.
23+
</p>
24+
25+
<h3>Purpose</h3>
26+
<p>
27+
The organization is organized exclusively for charitable, educational,
28+
and scientific purposes under Section 501(c)(3) of the Internal Revenue Code,
29+
or corresponding Section of any future federal tax code.
30+
</p>
31+
<p>
32+
You can view our governing <a href="/about/meetings">Bylaws</a>, notes from previous
33+
<a href="/about/meetings">meetings</a>, and our <a href="/about/board">board members</a>.
34+
</p>
35+
36+
<h3>Contact</h3>
37+
<p>
38+
For more information contact <a href="mailto:[email protected]">[email protected]</a>.
39+
</p>
40+
41+
<h3>Mailing Address</h3>
42+
<p>
43+
Memphis Technology Foundation<br />
44+
2804 Bartlett Road<br />
45+
Suite 3<br />
46+
Memphis, TN, 38134<br />
47+
</p>
48+
49+
<h3>Social Media</h3>
50+
<p>
51+
<ul>
52+
<li>
53+
<a href="https://twitter.com/memtech" target="_blank">Memphis Technology on Twitter</a>
54+
</li>
55+
<li>
56+
<a href="https://www.facebook.com/MemphisTechnology" target="_blank">Memphis Technology on Facebook</a>
57+
</li>
58+
<li>
59+
<a href="https://plus.google.com/u/1/communities/111617696126688058262" target="_blank">Memphis Technology on Google+</a>
60+
</li>
61+
</ul>
62+
</p>
63+
64+
<h3>Copyright</h3>
65+
<p>
66+
Memphis Technology Foundation maintains copyright over its own Intellectual Property of its logos, icons, and other official depictions.
67+
</p>
68+
</div>
69+
</div>
70+
</div>
71+
</div>
72+
</section>

source/about.md

-38
This file was deleted.

source/css/style.css

-50
This file was deleted.

source/index.html

+1-24
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,4 @@
77
use:
88
- posts
99
---
10-
{% for post in page.pagination.items %}
11-
<article>
12-
<header>
13-
<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
14-
</header>
15-
<div>
16-
{{ post.blocks.content|raw }}
17-
</div>
18-
{% if post.meta.tags %}
19-
<p class="tags">
20-
Tags:
21-
{% for tag in post.meta.tags %}
22-
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
23-
{% endfor %}
24-
</p>
25-
{% endif %}
26-
</article>
27-
{% endfor %}
28-
{% if page.pagination.previous_page or page.pagination.next_page %}
29-
<nav>
30-
{% if page.pagination.previous_page %}<a href="{{ site.url }}{{ page.pagination.previous_page.url }}">Newer Posts</a>{% endif %}<br />
31-
{% if page.pagination.next_page %}<a href="{{ site.url }}{{ page.pagination.next_page.url }}">Older Posts</a>{% endif %}<br />
32-
</nav>
33-
{% endif %}
10+
{% include theme_path('partials/content.html') %}

source/themes/memtech/memtech_v2/_layouts/default.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% include theme_path('partials/header.html') %}
1010
<!-- Site Content -->
1111
<div id="main">
12-
{% block main %}{% endblock %}
12+
{% block content %}{% endblock %}
1313
</div>
1414
<!--Content End Here -->
1515
{% include theme_path('partials/footer.html') %}

source/themes/memtech/memtech_v2/_layouts/index.html.twig

-22
This file was deleted.

source/themes/memtech/memtech_v2/_layouts/partials/content.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<div class="page-header section-header clearfix">
166166
<h2>Memphis Technology Foundation is a group of people with a diverse interest in technology
167167
looking to raise the tech tide in Memphis, TN.</h2>
168-
<p>For more information, view our <a href="/about/faqs">Frequently Asked Questions</a>.</p>
168+
<h3>For more information, view our <a href="/about/faqs">Frequently Asked Questions</a>.</h3>
169169
</div>
170170

171171
<div class="article-list flexslider article-slider progressbar">

source/themes/memtech/memtech_v2/_layouts/partials/header.html.twig

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<header id="header">
33
<div class="container">
44
<div class="row primary-header">
5-
<a href="/" class="col-xs-12 col-sm-2 brand" title="Welcome to Memphis Technology Foundation"><img src="/{{ theme_path('img/mtf-logo.png') }}" alt="Memphis Technology Foundation"></a>
5+
<a href="/" class="col-xs-12 col-sm-2 brand" title="Welcome to Memphis Technology Foundation">
6+
<img src="/{{ theme_path('img/mtf-logo.png') }}" alt="Memphis Technology Foundation">
7+
</a>
68
<div class="social-links col-xs-12 col-sm-10">
79
{#<a href="volunteer.html" class="btn btn-default btn-volunteer">Become volunteer</a>#}
810
<ul class="social-icons hidden-xs">

0 commit comments

Comments
 (0)