Skip to content

Commit 7fc80a8

Browse files
committed
Added companies section
1 parent b29a862 commit 7fc80a8

File tree

5 files changed

+76
-2
lines changed

5 files changed

+76
-2
lines changed

_layouts/company.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
---
4+
<h1><em>Note: This page and company catalog is still under construction</em></h1>
5+
<h2>{{page.name}}</h2>
6+
<table>
7+
<tr><td>Name</td><td>{{page.name}}</td></tr>
8+
{% if page.company_url %}<tr><td>URL</td><td><a href="{{page.company_url}}">{{page.company_url}}</a></td></tr>{% endif %}
9+
</table>
10+
<br/>
11+
{{ content }}

_layouts/default.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ <h1>PythonPune</h1>
2626
<h2>Pune Pythonistas and their discussions and events.</h2>
2727
<ul>
2828
<li><a href="/">Home</a></li>
29+
<li><a href="http://groups.google.com/group/pythonpune">Google Group</a></li>
2930
<li><a href="/meetings">Meetings</a></li>
3031
<li><a href="/blog">Blog</a></li>
31-
<li><a href="/members">Members</a></li>
32-
<li><a href="http://groups.google.com/group/pythonpune">Google Group</a></li>
3332
<li><a href="/resources">Resources</a></li>
33+
<br/>
34+
<li><a href="/members">Members</a></li>
35+
<li><a href="/companies">Company Catalog</a></li>
3436
</ul>
3537
</div>
3638
</header>

companies/how-to.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
layout: default
3+
---
4+
## _Note: This page is part of a set of pages still being evolved and thus under construction_
5+
6+
## How to use the company catalog
7+
8+
Describe here in context of the company
9+
10+
* Some of the projects in python (especially for projects / services companies)
11+
* Nature of product in python (especially for product / saas company)
12+
* What python tools are used
13+
* How is python used
14+
* Any views / opinions about python
15+
* Any python developers and their work you might want to refer to
16+
17+
18+
## How should this information be filled
19+
20+
1. Ideally someone from the company should fill out this information (needs to be a markdown + git + pull request literate person)
21+
1. Else company can mail information to one of the pythonpune members who can enter it in .md format & issue a pull request
22+
1. Else PythonPune members can add the information about known companies working with python and we can over a period of time replace the information with that received by the company (May be the best way to get started). When information is not provided by the company a link to a email-id/webform where a company can contact the webmasters for corrections must be provided.

companies/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: default
3+
---
4+
<h2><em>Note: This page and company catalog is still under construction</em></h2>
5+
<h2>Company Catalog: Companies developing software using Python in Pune</h2>
6+
<em>Note: This page lists information about companies developing software using python in pune, from the companies themselves or based on the awareness of pythonpune members. Please feel free to contact the site administrators for any corrections etc.</em><br/>
7+
<table id="companies_table">
8+
<thead>
9+
<tr>
10+
<th>Name</th>
11+
<th>URL</th>
12+
</tr>
13+
</thead>
14+
<tbody>
15+
{% for page in site.pages %}
16+
{% capture prefix %}{{page.url | truncate: 17, ''}}{% endcapture%}
17+
{% if prefix == "/companies/pages/" %}
18+
<tr>
19+
<td><a href="{{page.url}}">{{page.name}}</a></td>
20+
<td><a href="{{page.company_url}}">{{page.company_url}}</a></td>
21+
</tr>
22+
{% endif %}
23+
{% endfor %}
24+
</tbody>
25+
</table>
26+
<script>
27+
function page_callback() {
28+
$("#companies_table tbody tr").tsort();
29+
}
30+
</script>

companies/pages/sample.company.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: company
3+
name: Some company
4+
company_url: http://company.url.dummy
5+
---
6+
7+
## About Python usage in the company
8+
9+
Stuff here.

0 commit comments

Comments
 (0)