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

fix the banner image, meetup listing meetup-15, meetup-16 #45

Merged
merged 3 commits into from
Jun 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
This contains documentation for php-developers-nepal community. see gh-pages, send pull requests, report on issues. enjoy!
This contains documentation for php-developers-nepal community. see gh-pages,
send pull requests, report on issues. enjoy!

## Local Machine Setup for Contribution

- Install ruby
- Install Jekyll
- Have some workable knowledge on github pages

Use following Jekyll command to serve locally. Below command was tested on `jekyll 3.1.6`

```bash
$ jekyll serve watch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

```

## Local Development
Once Jekyll services the page, open browser and visit [http://127.0.0.1:4000/php]

Above command will regenerate page automatically if any changes is made on template
files.

[http://127.0.0.1:4000/php]: http://127.0.0.1:4000/php
3 changes: 3 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
<div align="center">
<img src="{{ site.baseurl }}/public/images/dn-icon.gif"
alt="Developers Nepal Community">
<br/>
<small>Last updated date {{ site.time | date: "%A, %b %d, %Y" }}</small>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added last page update time just above the footer.

</div>

3 changes: 1 addition & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</div>

{% include footer.html %}

<!-- <small>Last generated on : {{ site.time }}</small> -->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove this comment ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

</body>

</html>
4 changes: 1 addition & 3 deletions _meetup/16-Jan-2016.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: meetup
title: "Meetup #15 - 16 Jan 2016"
date: 2016-01-16
permalink: /meetups/26-Jan-2016/
permalink: /meetups/16-Jan-2016/
venue:
name: "Verisk Information Technologies"
address: "429 Hattisar Sadak, Kathmandu, Nepal PO Box 6058"
Expand All @@ -28,8 +28,6 @@ fb: "https://www.facebook.com/events/1629401980657009/"

![PHP Developer Meetup 15 Cover Photo](/php/public/images/meetup-15/cover-15.jpg "PHP Developer Meetup 15 cover photo")



Blogs from the event :

- [YIPL Blog about the meetup](https://blog.yipl.com.np/php-developers-meet-up-15-e07a73f5a43e#.62m33hoen)
Expand Down
3 changes: 1 addition & 2 deletions _meetup/25-Jun-2016.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: meetup
title: "Meetup #16 - Coming 25 Jun 2016"
date: 2016-06-25
title: "Meetup #16 - 25 Jun 2016 - Upcoming"
permalink: /meetups/25-Jun-2016/
venue:
name: "Prime College, Bachelor Building"
Expand Down
15 changes: 4 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,13 @@

<h1>Meetups</h1>

{% assign sortedMeetups = site.meetup | sort: 'date' | reverse %}
{% assign sortedMeetups = site.meetup | sort: 'date'| reverse %}
<ul class="post-list">
{% for meetup in sortedMeetups %}
<li>
<a class="post-link" href="{{ meetup.url | prepend: site.baseurl }}">{{ meetup.title }}</a>
</li>
{% endfor %}
</ul>

<h2>Posts</h2>
<ul class="post-list">
{% for post in site.posts %}
<li>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<a class="post-link" href="{{ meetup.url | prepend: site.baseurl }}">
{{ meetup.title }}
</a>
</li>
{% endfor %}
</ul>
Expand Down