Skip to content

Commit 10fbfff

Browse files
refactoring code base
Signed-off-by: Deepak Raj <[email protected]>
1 parent 5844004 commit 10fbfff

File tree

8 files changed

+169
-192
lines changed

8 files changed

+169
-192
lines changed

_data/contributors.json

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,19 @@
1010
},
1111
{
1212
"sn": 2,
13-
"name": "Shubham Pawar",
14-
"github": "shubham5351",
15-
"email": "[email protected]",
16-
"info": "I'm an Data Science Enthusiast with intrest in Machine Learning. Intrested in contributing to open source projects. Skilled in Python Data Science, Machine Learning and Web Development.",
17-
"picture": "shubhampawar.png"
18-
},
19-
{
20-
"sn": 3,
2113
"name": "Priyanshu Singh",
2214
"github": "reveurguy",
2315
"email": "[email protected]",
2416
"info": "Hi-there. I am a Web Development enthusiast. I am eager to learn new things. I have intermediate knowledge of CSS and HTML and basic-intermediate knowledge of Javascript. I love to use CSS and Javascript libraries to make sites look visually attractive. You can view more of my works and contributions on my github account. Happy Coding </>😉",
17+
"is_profile": true,
2518
"picture": "priyanshusingh.png"
2619
},
2720
{
28-
"sn": 4,
21+
"sn": 3,
2922
"name": "Shivam Yadav",
3023
"github": "expresshermes",
3124
"email": "[email protected]",
32-
"info":" Hey! I am a full stack developer with proficiency in Django. I am also an open-source enthusiast. I am skilled in Python, C++, HTML/CSS, Javascript, MongoDB, and SQL. Check out my Github for more info."
33-
},
34-
{
35-
"sn":5,
36-
"name":"Ayush Modi",
37-
"github":"hot9cups",
38-
"email":"[email protected]",
39-
"info":"I'm an Engineering undergrad majoring in IT. Can program in Python, Java and GoLang . Deep Learning enthusiast, love PyTorch but can work with Tensorflow too.",
40-
"picture":"ayushmodi.png"
25+
"is_profile": true,
26+
"info": " Hey! I am a full stack developer with proficiency in Django. I am also an open-source enthusiast. I am skilled in Python, C++, HTML/CSS, Javascript, MongoDB, and SQL. Check out my Github for more info."
4127
}
42-
43-
]
28+
]

_data/projects.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"description": "GUI tool to manage files smartly",
6161
"github_url": "https://github.com/Py-Contributors/FileMoverGUI",
6262
"project_tags": "python, file, mover, gui",
63-
"project_image": "https://github.com/DrakeEntity/project-Image/blob/master/py-contributors/projects/filemover.jpg?raw=true"
64-
63+
"project_image": "https://github.com/DrakeEntity/project-Image/blob/master/py-contributors/projects/filemover.jpg?raw=true"
6564
}
6665
]

_includes/footer copy.html

Lines changed: 0 additions & 28 deletions
This file was deleted.

_includes/footer.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,41 @@
33
<div class="container p-4 pb-0">
44
<!-- Section: Social media -->
55
<section class="mb-4">
6-
<!-- Facebook -->
76
<a
87
class="btn text-white btn-floating m-1"
98
style="background-color: #3b5998;"
109
href="https://www.facebook.com/pycontributors"
1110
role="button"
1211
><i class="fab fa-facebook-f"></i
13-
></a>
14-
15-
<!-- Twitter -->
12+
></a><!-- Facebook -->
1613
<a
1714
class="btn text-white btn-floating m-1"
1815
style="background-color: #55acee;"
1916
href="https://twitter.com/pycontributors"
2017
role="button"
2118
><i class="fab fa-twitter"></i
22-
></a>
23-
<!-- Linkedin -->
19+
></a><!-- Twitter -->
2420
<a
2521
class="btn text-white btn-floating m-1"
2622
style="background-color: #0082ca;"
2723
href="#!"
2824
role="button"
2925
><i class="fab fa-linkedin-in"></i
30-
></a>
31-
<!-- Github -->
26+
></a><!-- Linkedin -->
3227
<a
3328
class="btn text-white btn-floating m-1"
3429
style="background-color: #333333;"
3530
href="https://github.com/py-contributors/"
3631
role="button"
3732
><i class="fab fa-github"></i
38-
></a>
33+
></a><!-- Github -->
3934
</section>
4035
<!-- Section: Social media -->
4136
</div>
4237
<!-- Grid container -->
43-
4438
<!-- Copyright -->
4539
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
46-
© 2023 Copyright:
40+
© 2023 Copyright: @
4741
<a class="text-white" href="/">Py Contributors</a>
4842
</div>
4943
<!-- Copyright -->

_includes/navbar.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ <h3 class="mainHeading"><a class="text-white" href="/"><img src="/assets/img/log
2222
{% endif %}
2323

2424
{% if page.active == "projects" %}
25-
<li class=" active"><a class="" href="/projects/index.html" data-after="Join">Join Us</a></li>
25+
<li class=" active"><a class="" href="/projects/index.html" data-after="Join">Projects</a></li>
2626
{% else %}
2727
<li class=""><a class="" href="/projects/index.html" data-after="Projects">Projects</a></li>
2828
{% endif %}
2929

30-
{% if page.active == "join-us" %}
31-
<li class=" active"><a class="" href="/join-us/index.html" data-after="Join">Join Us</a></li>
32-
{% else %}
33-
<li class=""><a class="" href="/join-us/index.html" data-after="Join">Join Us</a></li>
34-
{% endif %}
35-
3630
{% if page.active == "updates" %}
3731
<li class=" active"><a class="" href="/updates/index.html" data-after="Updates">Updates</a></li>
3832
{% else %}

_layouts/blog.html

Lines changed: 65 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,69 @@
11
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<!-- Required meta tags -->
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<!-- Global site tag (gtag.js) - Google Analytics -->
8-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167457248-3"></script>
9-
<script>
10-
window.dataLayer = window.dataLayer || [];
11-
function gtag(){dataLayer.push(arguments);}
12-
gtag('js', new Date());
13-
gtag('config', 'UA-167457248-3');
14-
</script>
2+
<html lang="en">
153

16-
<title>{{ page.title }}</title>
17-
<link rel="icon" href="/assets/img/logo/logo.png" type="image/gif" sizes="16x16">
18-
<script src="https://kit.fontawesome.com/83ea256c90.js" crossorigin="anonymous"></script>
19-
<!-- Bootstrap CDN -->
20-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
21-
<link rel="stylesheet" type="text/css" href="/assets/css/main.css">
4+
<head>
5+
<!-- Required meta tags -->
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167457248-3"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag() { dataLayer.push(arguments); }
12+
gtag('js', new Date());
13+
gtag('config', 'UA-167457248-3');
14+
</script>
15+
<title>{{ page.title }}</title>
16+
<link rel="icon" href="/assets/img/logo/logo.png" type="image/gif" sizes="16x16">
17+
<script src="https://kit.fontawesome.com/83ea256c90.js" crossorigin="anonymous"></script>
18+
<!-- Bootstrap CDN -->
19+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
20+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
21+
<link rel="stylesheet" type="text/css" href="/assets/css/main.css">
2222

23-
<!-- Google Fonts -->
24-
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400&display=swap" rel="stylesheet">
25-
<link href="https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700&display=swap" rel="stylesheet">
23+
<!-- Google Fonts -->
24+
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400&display=swap" rel="stylesheet">
25+
<link href="https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700&display=swap" rel="stylesheet">
2626

27-
<link rel="stylesheet" href="https://raw.githubusercontent.com/googlearchive/code-prettify/master/styles/sunburst.css">
28-
<!-- Meta tags -->
29-
<meta name="title" content="{{ page.title }}">
30-
<meta name="description" content="{{page.description}}">
31-
<meta name="author" content="Deepak Raj">
32-
<!-- Open Graph / Facebook -->
33-
<meta property="og:type" content="website">
34-
<meta property="og:url" content="{{site.url}}{{page.url}}">
35-
<meta property="og:title" content="{{page.title}}">
36-
<meta property="og:description" content="{% if page.description %}{{page.description}} {% else %}A open Source community for Python, Machine Learning and Artificial intelligence. Open-source contributions are welcome.{% endif %}">
37-
<meta property="og:image" content="{% if page.image %}{{page.image}}{% else %}https://images.pexels.com/photos/3785927/pexels-photo-3785927.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940{% endif %}">
38-
<!-- Twitter -->
39-
<meta property="twitter:card" content="summary_large_image">
40-
<meta property="twitter:url" content="{{site.url}}{{page.url}}">
41-
<meta property="twitter:title" content="{{page.title}}">
42-
<meta property="twitter:description" content="{{page.description}}">
43-
<meta property="twitter:image" content="https://images.pexels.com/photos/3785927/pexels-photo-3785927.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940">
44-
</head>
45-
<body>
46-
{% include navbar.html %}
47-
<div class="container mt-3 bg-white py-3 pMd px-4 bdrRadius">
48-
<!-- Page content here -->
49-
{{ content }}
50-
</div>
51-
{% include footer.html %}
52-
<!-- Bootstrap script-->
53-
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
54-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
55-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
56-
</body>
57-
</html>
27+
<link rel="stylesheet"
28+
href="https://raw.githubusercontent.com/googlearchive/code-prettify/master/styles/sunburst.css">
29+
<!-- Meta tags -->
30+
<meta name="title" content="{{ page.title }}">
31+
<meta name="description" content="{{page.description}}">
32+
<meta name="author" content="Deepak Raj">
33+
<!-- Open Graph / Facebook -->
34+
<meta property="og:type" content="website">
35+
<meta property="og:url" content="{{site.url}}{{page.url}}">
36+
<meta property="og:title" content="{{page.title}}">
37+
<meta property="og:description"
38+
content="{% if page.description %}{{page.description}} {% else %}A open Source community for Python, Machine Learning and Artificial intelligence. Open-source contributions are welcome.{% endif %}">
39+
<meta property="og:image"
40+
content="{% if page.image %}{{page.image}}{% else %}https://images.pexels.com/photos/3785927/pexels-photo-3785927.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940{% endif %}">
41+
<!-- Twitter -->
42+
<meta property="twitter:card" content="summary_large_image">
43+
<meta property="twitter:url" content="{{site.url}}{{page.url}}">
44+
<meta property="twitter:title" content="{{page.title}}">
45+
<meta property="twitter:description" content="{{page.description}}">
46+
<meta property="twitter:image"
47+
content="https://images.pexels.com/photos/3785927/pexels-photo-3785927.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940">
48+
</head>
49+
50+
<body>
51+
{% include navbar.html %}
52+
<div class="container mt-3 bg-white py-3 pMd px-4 bdrRadius">
53+
<!-- Page content here -->
54+
{{ content }}
55+
</div>
56+
{% include footer.html %}
57+
<!-- Bootstrap script-->
58+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
59+
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
60+
crossorigin="anonymous"></script>
61+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
62+
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
63+
crossorigin="anonymous"></script>
64+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
65+
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
66+
crossorigin="anonymous"></script>
67+
</body>
68+
69+
</html>

0 commit comments

Comments
 (0)