Skip to content

Commit be0856e

Browse files
committed
first blog
1 parent b57c5b2 commit be0856e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5491
-1
lines changed

404.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: post
3+
title: 404
4+
show_tile: false
5+
---
6+
7+
Page not found! :(

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
All contributions, including merge requests, feature requests, ideas, design tweaks, etc. are welcome.
2+
I welcome all input, from sharing your own implementations of code to general thoughts and ideas. Just open a new issue!
3+
4+
## Feature Requests
5+
6+
Feature requests are always welcome! If Jekyll can do it and if the theme's design would work well with it, then I would love to add it. Of course,
7+
code submission via a merge/pull request is great, but not necessary.
8+
9+
## Bug Reports
10+
11+
If you encounter any issues with these themes on any devices, please submit a bug report with the device type and a detailed description of what
12+
the issue that you're encountering is.
13+
<br /><br />
14+
15+
*Thank you*

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
gemspec
3+
gem 'jekyll-feed'

LICENSE.md

Lines changed: 63 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,73 @@
1-
GSOC blogs
1+
# Forty - Jekyll Theme
2+
3+
A Jekyll version of the "Forty" theme by [HTML5 UP](https://html5up.net/).
4+
5+
![Forty Theme](assets/images/forty.jpg "Forty Theme")
6+
7+
# How to Use
8+
9+
For those unfamiliar with how Jekyll works, check out [jekyllrb.com](https://jekyllrb.com/) for all the details,
10+
or read up on just the basics of [front matter](https://jekyllrb.com/docs/frontmatter/), [writing posts](https://jekyllrb.com/docs/posts/),
11+
and [creating pages](https://jekyllrb.com/docs/pages/).
12+
13+
- **GitLab**: Simply fork this repository and start editing the `_config.yml` file!
14+
- **GitHub**: Fork this repository and create a branch named `gh-pages`, then start editing the `_config.yml` file.
15+
16+
# Added Features
17+
18+
* **[Formspree.io](https://formspree.io/) contact form integration** - just add your email to the `_config.yml` and it works!
19+
* Use `_config.yml` to **set whether the homepage tiles should pull pages or posts**, as well as how many to display.
20+
* Add your **social profiles** easily in `_config.yml`. Only social profiles buttons you enter in `config.yml` show up on the site footer!
21+
* Set **featured images** in front matter.
22+
23+
# Issues
24+
25+
If you would like to report a bug, ask a question, request a feature, feel free to do so on [the GitLab repository](https://gitlab.com/andrewbanchich/forty-jekyll-theme) and I will be more than happy to help!
26+
27+
Alternatively, you can open an issue via email by emailing [incoming+andrewbanchich/forty-jekyll-theme@incoming.gitlab.com](mailto:incoming+andrewbanchich/forty-jekyll-theme@incoming.gitlab.com).
28+
29+
The GitHub repository is simply a mirror of the GitLab repository.
30+
31+
# Credits
32+
33+
Original README from HTML5 UP:
34+
35+
```
36+
Forty by HTML5 UP
37+
html5up.net | @ajlkn
38+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
39+
40+
41+
This is Forty, my latest and greatest addition to HTML5 UP and, per its incredibly
42+
creative name, my 40th (woohoo)! It's built around a grid of "image tiles" that are
43+
set up to smoothly transition to secondary landing pages (for which a separate page
44+
template is provided), and includes a number of neat effects (check out the menu!),
45+
extra features, and all the usual stuff you'd expect. Hope you dig it!
46+
47+
Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
48+
you can use for pretty much whatever.
49+
50+
(* = not included)
51+
52+
AJ
53+
aj@lkn.io | @ajlkn
54+
55+
56+
Credits:
57+
58+
Demo Images:
59+
Unsplash (unsplash.com)
60+
61+
Icons:
62+
Font Awesome (fortawesome.github.com/Font-Awesome)
63+
64+
Other:
65+
jQuery (jquery.com)
66+
html5shiv.js (@afarkas @jdalton @jon_neal @rem)
67+
background-size polyfill (github.com/louisremi)
68+
Misc. Sass functions (@HugoGiraudel)
69+
Respond.js (j.mp/respondjs)
70+
Skel (skel.io)
71+
```
72+
73+
Repository [Jekyll logo](https://github.com/jekyll/brand) icon licensed under a [Creative Commons Attribution 4.0 International License](http://choosealicense.com/licenses/cc-by-4.0/).

_config.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# site settings
2+
title: sak-codes
3+
subtitle: by HTML5 UP
4+
email: sakshioza17@gmail.com
5+
description: Biomedical Engineer
6+
baseurl: "" # the subpath of your site, e.g. /blog
7+
url: sak-codes.github.io
8+
author:
9+
street_address:
10+
city: Gandhinagar
11+
state:
12+
zip_code:
13+
country: India
14+
phone:
15+
16+
# homepage tiles
17+
tiles-source: pages # accepts "posts" or "pages"
18+
tiles-count: 6
19+
20+
# social settings
21+
500px_url:
22+
facebook_url:
23+
github_url: https://github.com/sak-codes
24+
gitlab_url:
25+
googleplus_url:
26+
instagram_url:
27+
linkedin_url:
28+
pinterest_url:
29+
slack_url:
30+
twitter_url:
31+
32+
# build settings
33+
markdown: kramdown
34+
35+
sass:
36+
style: compressed
37+
38+
plugins:
39+
- jekyll-feed

_includes/footer.html

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<!-- Contact -->
2+
<section id="contact">
3+
<div class="inner">
4+
<section>
5+
<form action="https://formspree.io/{{ site.email }}" method="POST">
6+
<div class="field half first">
7+
<label for="name">Name</label>
8+
<input type="text" name="name" id="name" />
9+
</div>
10+
<div class="field half">
11+
<label for="email">Email</label>
12+
<input type="text" name="_replyto" id="email" />
13+
</div>
14+
<div class="field">
15+
<label for="message">Message</label>
16+
<textarea name="message" id="message" rows="6"></textarea>
17+
</div>
18+
<ul class="actions">
19+
<li><input type="submit" value="Send Message" class="special" /></li>
20+
<li><input type="reset" value="Clear" /></li>
21+
</ul>
22+
</form>
23+
</section>
24+
<section class="split">
25+
<section>
26+
<div class="contact-method">
27+
<span class="icon alt fa-envelope"></span>
28+
<h3>Email</h3>
29+
<a href="#">{{ site.email }}</a>
30+
</div>
31+
</section>
32+
<section>
33+
<div class="contact-method">
34+
<span class="icon alt fa-home"></span>
35+
<h3>Address</h3>
36+
<span>
37+
{% if site.street_address %}
38+
{{ site.street_address }}<br />
39+
{% endif %}
40+
{% if site.city %}
41+
{{ site.city }},
42+
{% endif %}
43+
{% if site.state %}
44+
{{ site.state }},
45+
{% endif %}
46+
{% if site.zip_code %}
47+
{{ site.zip_code }}<br />
48+
{% endif %}
49+
{% if site.country %}
50+
{{ site.country }}
51+
{% endif %}
52+
</span>
53+
</div>
54+
</section>
55+
</section>
56+
</div>
57+
</section>
58+
59+
<!-- Footer -->
60+
<footer id="footer">
61+
<div class="inner">
62+
<ul class="icons">
63+
{% if site.twitter_url %}
64+
<li><a href="{{ site.twitter_url }}" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
65+
{% endif %}
66+
{% if site.googleplus_url %}
67+
<li><a href="{{ site.googleplus_url }}" class="icon alt fa-google-plus" target="_blank"><span class="label">Google+</span></a></li>
68+
{% endif %}
69+
{% if site.facebook_url %}
70+
<li><a href="{{ site.facebook_url }}" class="icon alt fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
71+
{% endif %}
72+
{% if site.instagram_url %}
73+
<li><a href="{{ site.instagram_url }}" class="icon alt fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
74+
{% endif %}
75+
{% if site.pinterest_url %}
76+
<li><a href="{{ site.pinterest_url }}" class="icon alt fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
77+
{% endif %}
78+
{% if site.500px_url %}
79+
<li><a href="{{ site.500px_url }}" class="icon alt fa-500px" target="_blank"><span class="label">500px</span></a></li>
80+
{% endif %}
81+
{% if site.gitlab_url %}
82+
<li><a href="{{ site.gitlab_url }}" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
83+
{% endif %}
84+
{% if site.github_url %}
85+
<li><a href="{{ site.github_url }}" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
86+
{% endif %}
87+
{% if site.slack_url %}
88+
<li><a href="{{ site.slack_url }}" class="icon alt fa-slack" target="_blank"><span class="label">Slack</span></a></li>
89+
{% endif %}
90+
{% if site.linkedin_url %}
91+
<li><a href="{{ site.linkedin_url }}" class="icon alt fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
92+
{% endif %}
93+
</ul>
94+
<ul class="copyright">
95+
<li>&copy; {{ site.title }} {{ site.subtitle }}</li>
96+
<li>Design: <a href="https://html5up.net" target="_blank">HTML5 UP</a></li>
97+
<li>Jekyll integration: <a href="http://andrewbanchi.ch" target="_blank">Andrew Banchich</a></li>
98+
99+
</ul>
100+
</div>
101+
</footer>
102+
103+
</div>
104+
105+
<!-- Scripts -->
106+
<script src="{{ "assets/js/jquery.min.js" | absolute_url }}"></script>
107+
<script src="{{ "assets/js/jquery.scrolly.min.js" | absolute_url }}"></script>
108+
<script src="{{ "assets/js/jquery.scrollex.min.js" | absolute_url }}"></script>
109+
<script src="{{ "assets/js/skel.min.js" | absolute_url }}"></script>
110+
<script src="{{ "assets/js/util.js" | absolute_url }}"></script>
111+
<!--[if lte IE 8]><script src="{{ "assets/js/ie/respond.min.js" | absolute_url }}"></script><![endif]-->
112+
<script src="{{ "assets/js/main.js" | absolute_url }}"></script>
113+
<script id="MathJax-script" async
114+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
115+
</script>

_includes/head.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<head>
2+
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
3+
<meta charset="utf-8" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
5+
<!--[if lte IE 8]><script src="{{ "assets/js/ie/html5shiv.js" | relative_url }}"></script><![endif]-->
6+
<link rel="stylesheet" href="{{ "assets/css/main.css" | relative_url }}" />
7+
<!--[if lte IE 9]><link rel="stylesheet" href="{{ "assets/css/ie9.css" | relative_url }}" /><![endif]-->
8+
<!--[if lte IE 8]><link rel="stylesheet" href="{{ "assets/css/ie8.css" | relative_url }}" /><![endif]-->
9+
</head>

_includes/header.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!-- Wrapper -->
2+
<div id="wrapper">
3+
4+
<!-- Header -->
5+
<header id="header"{% if page.layout == "landing" %} class="alt style2"{% endif %}{% if page.layout == "home" %} class="alt"{% endif %}>
6+
<!--<a href="{{ "" | absolute_url }}/" class="logo"><strong>{{ site.title }}</strong> <span>{{ site.subtitle }}</span></a>-->
7+
<nav>
8+
<a href="#menu">Menu</a>
9+
</nav>
10+
</header>
11+
12+
<!-- Menu -->
13+
<nav id="menu">
14+
<ul class="links">
15+
{% for page in site.pages %}
16+
{% if page.layout == "home" %}
17+
<li><a href="{{ site.base_url | absolute_url }}/">{{ page.title }}</a></li>
18+
{% endif %}
19+
{% endfor %}
20+
{% for page in site.html_pages %}
21+
{% if page.layout != "home" and page.nav-menu == true %}
22+
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
23+
{% endif %}
24+
{% endfor %}
25+
</ul>
26+
27+
</nav>

_includes/tiles.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% if 'posts' == site.tiles-source %}
2+
{% assign tiles = site.posts %}
3+
{% elsif 'pages' == site.tiles-source %}
4+
{% assign tiles = site.html_pages | where_exp: "item", "item.show_tile != false" %}
5+
{% endif %}
6+
<section id="one" class="tiles">
7+
{% for tile in tiles limit:site.tiles-count %}
8+
<article>
9+
<span class="image">
10+
<img src="{{ tile.image }}" alt="" />
11+
</span>
12+
<header class="major">
13+
<h3><a href="{{ tile.url | relative_url }}" class="link">{{ tile.title }}</a></h3>
14+
<p>{{ tile.description }}</p>
15+
</header>
16+
</article>
17+
{% endfor %}
18+
</section>

0 commit comments

Comments
 (0)