bilingual-jekyll-resume-theme 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/analytics-body.html +28 -0
  3. data/_includes/analytics-head.html +41 -0
  4. data/_includes/ar-date.html +9 -0
  5. data/_includes/hreflang.html +45 -0
  6. data/_includes/main-head.html +2 -0
  7. data/_includes/print-social-links.html +76 -0
  8. data/_includes/resume-head-ar.html +14 -0
  9. data/_includes/resume-head-en.html +13 -0
  10. data/_includes/resume-section-ar.html +366 -0
  11. data/_includes/resume-section-en.html +366 -0
  12. data/_includes/shared-head.html +14 -0
  13. data/_includes/social-links.html +138 -0
  14. data/_includes/vendors/lineicons-v4.0/envelope.svg +8 -0
  15. data/_includes/vendors/lineicons-v4.0/phone.svg +13 -0
  16. data/_includes/vendors/lineicons-v4.0/postcard.svg +14 -0
  17. data/_includes/vendors/lineicons-v5.0/dev.svg +3 -0
  18. data/_includes/vendors/lineicons-v5.0/dribbble-symbol.svg +3 -0
  19. data/_includes/vendors/lineicons-v5.0/facebook.svg +3 -0
  20. data/_includes/vendors/lineicons-v5.0/flickr.svg +4 -0
  21. data/_includes/vendors/lineicons-v5.0/github.svg +3 -0
  22. data/_includes/vendors/lineicons-v5.0/globe-1.svg +3 -0
  23. data/_includes/vendors/lineicons-v5.0/instagram.svg +4 -0
  24. data/_includes/vendors/lineicons-v5.0/linkedin.svg +3 -0
  25. data/_includes/vendors/lineicons-v5.0/medium-alt.svg +3 -0
  26. data/_includes/vendors/lineicons-v5.0/pinterest.svg +3 -0
  27. data/_includes/vendors/lineicons-v5.0/telegram.svg +3 -0
  28. data/_includes/vendors/lineicons-v5.0/whatsapp.svg +3 -0
  29. data/_includes/vendors/lineicons-v5.0/x.svg +3 -0
  30. data/_includes/vendors/lineicons-v5.0/youtube.svg +3 -0
  31. data/_layouts/default.html +42 -1
  32. data/_layouts/resume-ar.html +167 -0
  33. data/_layouts/resume-en.html +167 -0
  34. data/_sass/_all-pages.scss +51 -0
  35. data/_sass/_base.scss +68 -0
  36. data/_sass/_layout.scss +78 -0
  37. data/_sass/_mixins.scss +111 -0
  38. data/_sass/_normalize.scss +379 -0
  39. data/_sass/_profile.scss +75 -0
  40. data/_sass/_resume-rtl.scss +69 -0
  41. data/_sass/_resume.scss +347 -0
  42. data/_sass/_variables.scss +33 -0
  43. data/assets/css/cv-ar.scss +19 -0
  44. data/assets/css/cv.scss +16 -0
  45. data/assets/css/main.scss +6 -0
  46. data/assets/favicon/resume/about.txt +6 -0
  47. data/assets/favicon/resume/android-chrome-192x192.png +0 -0
  48. data/assets/favicon/resume/android-chrome-512x512.png +0 -0
  49. data/assets/favicon/resume/apple-touch-icon.png +0 -0
  50. data/assets/favicon/resume/favicon-16x16.png +0 -0
  51. data/assets/favicon/resume/favicon-32x32.png +0 -0
  52. data/assets/favicon/resume/favicon.ico +0 -0
  53. data/assets/favicon/resume/site.webmanifest +1 -0
  54. metadata +65 -6
  55. data/_layouts/post.html +0 -5
  56. /data/_layouts/{page.html → profile.html} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e359fbeac7130d5f797e0ae8e2c7f371a8a46b0033d9a08083044f084f03392c
4
- data.tar.gz: b7b8aa97ce97ba070f1e21fe3da15c5bbb3074302ca5f245e8f8efabe83fb30c
3
+ metadata.gz: e95865459117ab43ae43114972d1ae82245a2d459b51e1d9980396400d18a79e
4
+ data.tar.gz: 470648d6f71bed91528b11cbefe960747741116c428b013e3f058fe1c5f00b48
5
5
  SHA512:
6
- metadata.gz: ff59929e737d4036be4576680e38a2e56f21d3579b0de84df2aacaacc384d33e9313a997de86652ac85e885e0d25e454755a6166f45a878596282cc8593b0ade
7
- data.tar.gz: 1f271a5d00af6df9fa618a899088c8b0c8170788eab65808c5f47d6c79d010afa3e5626bfd4c3e08c740c8545073743d9a9446f0dfa7d040708afb8ff3bf8831
6
+ metadata.gz: 94e77ff29daca018126fdc63b4e8a4445216ad52dafd895e5acd63bc65aa230350c6474254163fb11a9929cdfa900948d83c9dd4cef5d071b825e073abdd050b
7
+ data.tar.gz: 432b7ecb3b58cc6ef27bcb7d2c040dfda60cf0b3793e8a1d184b6602eac0856d83a369401251d7387f563253cfee877da96da8b88d7a5331d2bde4590bb996d2
@@ -0,0 +1,28 @@
1
+ {%- if site.analytics.gtm -%}
2
+
3
+ <!-- Google Tag Manager (noscript) -->
4
+ <noscript>
5
+ <iframe
6
+ src="https://www.googletagmanager.com/ns.html?id={{ site.analytics.gtm }}"
7
+ height="0"
8
+ width="0"
9
+ style="display:none;visibility:hidden">
10
+ </iframe>
11
+ </noscript>
12
+ <!-- End Google Tag Manager (noscript) -->
13
+
14
+ {%- else -%}
15
+
16
+ {%- if site.analytics.ga -%}
17
+
18
+ {%- comment -%}
19
+ No Google Analytics gtag.js exists for body so this section will return a blank.
20
+ {%- endcomment -%}
21
+
22
+ {%- endif -%}
23
+
24
+ {%- else -%}
25
+
26
+ <!-- No Analytics Added -->
27
+
28
+ {%- endif -%}
@@ -0,0 +1,41 @@
1
+ {%- if site.analytics.gtm -%}
2
+
3
+ <!-- Google Tag Manager -->
4
+ <script>
5
+ (function (w, d, s, l, i) {
6
+ w[l] = w[l] || [];
7
+ w[l].push({
8
+ 'gtm.start': new Date().getTime(),
9
+ event: 'gtm.js'
10
+ });
11
+ var f = d.getElementsByTagName(s)[0],
12
+ j = d.createElement(s),
13
+ dl = l != 'dataLayer' ? '&l=' + l : '';
14
+ j.async = true;
15
+ j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
16
+ f.parentNode.insertBefore(j, f);
17
+ })(window, document, 'script', 'dataLayer', '{{ site.analytics.gtm }}');
18
+ </script>
19
+
20
+ <!-- End Google Tag Manager -->
21
+
22
+ {%- else -%}
23
+
24
+ {%- if site.analytics.ga -%}
25
+
26
+ <!-- Global site tag (gtag.js) - Google Analytics -->
27
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.gtag }}"></script>
28
+ <script>
29
+ window.dataLayer = window.dataLayer || [];
30
+
31
+ function gtag() {
32
+ dataLayer.push(arguments);
33
+ }
34
+
35
+ gtag('js', new Date());
36
+ gtag('config', '{{ site.analytics.gtag }}');
37
+ </script>
38
+
39
+ {%- endif -%}
40
+
41
+ {%- endif -%}
@@ -0,0 +1,9 @@
1
+ {% assign m = include.date | date: "%-m" %}
2
+ {% assign d = include.date | date: "%-d" %}
3
+ {% assign y = include.date | date: "%Y" %}
4
+ {% assign month_name = site.data.ar.months[m] %}
5
+ {% if include.style == "MDY" %}
6
+ {{ month_name }} {{ d }}, {{ y }}
7
+ {% else %}
8
+ {{ month_name }} {{ y }}
9
+ {% endif %}
@@ -0,0 +1,45 @@
1
+ {% comment %}
2
+ ==================================================================
3
+ START: HREFLANG TAGS FOR MULTILINGUAL SEO
4
+ This logic generates the <link rel="alternate"> tags that tell
5
+ search engines about the different language versions of this page.
6
+ It only runs if a 't_id' (Translation ID) is set in the page's front matter.
7
+ ==================================================================
8
+ {% endcomment %}
9
+ {% if page.t_id %}
10
+
11
+ {% comment %}
12
+ 1. Find all pages on the site that share the *same* 't_id' as this
13
+ current page. Store them in a new list called 'translations'.
14
+ {% endcomment %}
15
+ {% assign translations = site.pages | where: "t_id", page.t_id %}
16
+
17
+ {% comment %}
18
+ 2. Loop through every page found in the 'translations' list.
19
+ 't' represents each individual page in the loop.
20
+ {% endcomment %}
21
+ {% for t in translations %}
22
+ {% comment %}
23
+ Print an 'alternate' tag for each page, using its
24
+ 'lang' (e.g., "en", "ar") and its full 'url'.
25
+ {% endcomment %}
26
+ <link rel="alternate" hreflang="{{ t.lang }}" href="{{ t.url | absolute_url }}" />
27
+ {% endfor %}
28
+
29
+ {% comment %}
30
+ 3. Find the English ('en') page from the 'translations' list
31
+ to use as the "default" version.
32
+ {% endcomment %}
33
+ {% assign default_page = translations | where: "lang", "en" | first %}
34
+
35
+ {% comment %}
36
+ 4. If an English version was found, print the 'x-default' tag.
37
+ This tells Google which page to show if the user's
38
+ language doesn't match any of our versions.
39
+ {% endcomment %}
40
+ {% if default_page %}
41
+ <link rel="alternate" hreflang="x-default" href="{{ default_page.url | absolute_url }}" />
42
+ {% endif %}
43
+
44
+ {% endif %}
45
+ {% comment %} ================= End HREFLANG logic ================= {% endcomment %}
@@ -0,0 +1,2 @@
1
+ <!--Stylesheet-->
2
+ <link rel="stylesheet" type="text/css" href="{{ 'assets/css/main.css' | relative_url }}">
@@ -0,0 +1,76 @@
1
+ <!-- and guess where these are defined? Yup, you guessed it: the _config.yml file -->
2
+ {% if site.resume_print_social_links %}
3
+ <ul>
4
+
5
+ {% if site.social_links.github %}
6
+ <!-- GitHub link -->
7
+ <li><strong>Github</strong>: {{ site.social_links.github }}</li>
8
+ {% endif %}
9
+
10
+ {% if site.social_links.twitter %}
11
+ <!-- Twitter link -->
12
+ <li><strong>Twitter</strong>: {{ site.social_links.twitter }}</li>
13
+ {% endif %}
14
+
15
+ {% if site.social_links.medium %}
16
+ <!-- Medium link -->
17
+ <li><strong>Medium</strong>: {{ site.social_links.medium }}</li>
18
+ {% endif %}
19
+
20
+ {% if site.social_links.dribbble %}
21
+ <!-- Dribbble link -->
22
+ <li><strong>Dribbble</strong>: {{ site.social_links.dribbble }}</li>
23
+ {% endif %}
24
+
25
+ {% if site.social_links.facebook %}
26
+ <!-- Facebook link -->
27
+ <li><strong>Facebook</strong>: {{ site.social_links.facebook }}</li>
28
+ {% endif %}
29
+
30
+ {% if site.social_links.linkedin %}
31
+ <!-- LinkedIn link -->
32
+ <li><strong>LinkedIn</strong>: {{ site.social_links.linkedin }}</li>
33
+ {% endif %}
34
+
35
+ {% if site.social_links.instagram %}
36
+ <!-- Instagram link -->
37
+ <li><strong>Instagram</strong>: {{ site.social_links.instagram }}</li>
38
+ {% endif %}
39
+
40
+ {% if site.social_links.website %}
41
+ <!-- Website link -->
42
+ <li><strong>Website</strong>: {{ site.social_links.website }}</li>
43
+ {% endif %}
44
+
45
+ {% if site.social_links.whatsapp %}
46
+ <!-- Whatsapp link -->
47
+ <li><strong>Whatsapp</strong>: {{ site.social_links.whatsapp }}</li>
48
+ {% endif %}
49
+
50
+ {% if site.social_links.devto %}
51
+ <!-- Devto link -->
52
+ <li><strong>Devto</strong>: {{ site.social_links.devto }}</li>
53
+ {% endif %}
54
+
55
+ {% if site.social_links.flickr %}
56
+ <!-- Flickr link -->
57
+ <li><strong>Flickr</strong>: {{ site.social_links.flickr }}</li>
58
+ {% endif %}
59
+
60
+ {% if site.social_links.pinterest %}
61
+ <!-- Pinterest link -->
62
+ <li><strong>Pinterest</strong>: {{ site.social_links.pinterest }}</li>
63
+ {% endif %}
64
+
65
+ {% if site.social_links.telegram %}
66
+ <!-- Telegram link -->
67
+ <li><strong>Telegram</strong>: {{ site.social_links.telegram }}</li>
68
+ {% endif %}
69
+
70
+ {% if site.social_links.youtube %}
71
+ <!-- Youtube link -->
72
+ <li><strong>Youtube</strong>: {{ site.social_links.youtube }}</li>
73
+ {% endif %}
74
+
75
+ </ul>
76
+ {% endif %}
@@ -0,0 +1,14 @@
1
+ {% if site.resume_theme == 'default' %}
2
+ <!-- Arabic-friendly font (Cairo) -->
3
+ <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700;900&display=swap" rel="stylesheet">
4
+ {% endif %}
5
+
6
+ <link rel="stylesheet" type="text/css" href="{{ 'assets/css/cv-ar.css' | relative_url }}">
7
+
8
+ <!-- favicons generated by favicon.io -->
9
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ 'assets/favicon/resume/apple-touch-icon.png' | relative_url }}">
10
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/favicon/resume/favicon-32x32.png' | relative_url }}">
11
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/favicon/resume/favicon-16x16.png' | relative_url }}">
12
+ <link rel="manifest" href="{{ 'assets/favicon/resume/site.webmanifest' | relative_url }}">
13
+
14
+ {% include hreflang.html %}
@@ -0,0 +1,13 @@
1
+ <!-- Google font typography settings - defined in _config.yml -->
2
+ <link href='https://fonts.googleapis.com/css?family=Lora:400,700%7COpen+Sans:400,300,800,700' rel='stylesheet' type='text/css'>
3
+
4
+
5
+ <link rel="stylesheet" type="text/css" href="{{ 'assets/css/cv.css' | relative_url }}">
6
+
7
+ <!-- favicons generated by favicon.io -->
8
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ 'assets/favicon/resume/apple-touch-icon.png' | relative_url }}">
9
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/favicon/resume/favicon-32x32.png' | relative_url }}">
10
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/favicon/resume/favicon-16x16.png' | relative_url }}">
11
+ <link rel="manifest" href="{{ 'assets/favicon/resume/site.webmanifest' | relative_url }}">
12
+
13
+ {% include hreflang.html %}
@@ -0,0 +1,366 @@
1
+ {% comment %}
2
+ Arabic version of resume-section-en.html with Arabic section titles and "حتى الآن" for Present.
3
+ Usage: {% include resume-section-ar.html section_name="experience" %}
4
+ {% endcomment %}
5
+
6
+ {% if include.section_name == "experience" and site.resume_section.experience %}
7
+ <!-- begin Experience -->
8
+ <section class="content-section">
9
+ <header class="section-header">
10
+ <h2>الخبرات العملية</h2>
11
+ </header>
12
+
13
+ {%- assign active_jobs = resume_data.experience | where: "active", true -%}
14
+ {%- assign groups = active_jobs | group_by: "company" -%}
15
+
16
+ {%- for group in groups -%}
17
+ <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
18
+ <h3 class="resume-item-title" itemprop="name">{{ group.name }}</h3>
19
+
20
+ {%- assign roles = group.items | sort: "startdate" | reverse -%}
21
+ {%- for role in roles -%}
22
+ <h4 class="resume-item-details" itemprop="description">
23
+ {{ role.position }} &bull;
24
+ {%- if role.durations -%}
25
+ {%- for time in role.durations -%} {{ time.duration }} {%- endfor -%}
26
+ {%- else -%}
27
+ {% include ar-date.html date=role.startdate style="MY" %} &mdash;
28
+ {%- if role.enddate and role.enddate != 'Present' and role.enddate != 'حتى الآن' -%}
29
+ {% include ar-date.html date=role.enddate style="MY" %}
30
+ {%- else -%}
31
+ حتى الآن
32
+ {%- endif -%}
33
+ {%- endif -%}
34
+ {%- if role.location -%}
35
+ &bull; {{ role.location }}
36
+ {%- endif -%}
37
+ </h4>
38
+
39
+ {%- if site.enable_summary == true and role.summary -%}
40
+ <div class="resume-item-copy">{{ role.summary }}</div>
41
+ {%- endif -%}
42
+ {%- endfor -%}
43
+ </div><!-- end of grouped resume-item -->
44
+ {%- endfor -%}
45
+ </section>
46
+ <!-- end Experience -->
47
+
48
+
49
+ {% elsif include.section_name == "education" and site.resume_section.education %}
50
+ <!-- begin Education -->
51
+ <section class="content-section">
52
+ <header class="section-header">
53
+ <h2>التعليم</h2>
54
+ </header>
55
+
56
+ {% for education in resume_data.education %}
57
+ {% if education.active == true %}
58
+ <div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity">
59
+ <h3 class="resume-item-title" itemprop="name">{{ education.uni }}</h3>
60
+ <h4 class="resume-item-details group" itemprop="description">{{ education.degree }} &bull; {{ education.year }} &bull; {{ education.location }}</h4>
61
+
62
+ {% if education.award %}
63
+ <h5 class="resume-item-details award-title" itemprop="description">{{ education.award }}</h5>
64
+ {% endif %}
65
+
66
+ <div class="resume-item-copy" itemprop="description">
67
+ <ul class="resume-item-list">
68
+ {% for award in education.awards %}
69
+ <li>{{ award.award }}</li>
70
+ {% endfor %}
71
+ </ul>
72
+ </div>
73
+
74
+ {% if education.summary %}
75
+ <p class="resume-item-copy">{{ education.summary }}</p>
76
+ {% endif %}
77
+ </div>
78
+ {% endif %}
79
+ {% endfor %}
80
+ </section>
81
+ <!-- end Education -->
82
+
83
+ {% elsif include.section_name == "certifications" and site.resume_section.certifications %}
84
+ <!-- begin Licenses & Certifications -->
85
+ <section class="content-section">
86
+ <header class="section-header">
87
+ <h2>التراخيص والشهادات</h2>
88
+ </header>
89
+
90
+ {% for certification in resume_data.certifications %}
91
+ {% if certification.active == true %}
92
+ <div class="resume-item">
93
+ <h3 class="resume-item-title" itemprop="award">{{ certification.name }}</h3>
94
+ <h4 class="resume-item-details">
95
+ {{ certification.issuing_organization }} &bull; {% include ar-date.html date=certification.issue_date style="MDY" %}
96
+ {% if certification.expiration %} &mdash; {% include ar-date.html date=certification.expiration style="MDY" %} {% endif %}
97
+ &bull;
98
+ {% if certification.credential_id %}
99
+ <span class="resume-item-copy-license-cert-id">معرّف الاعتماد:
100
+ {% if certification.credential_url %}
101
+ <a href="{{ certification.credential_url }}" target="_blank" rel="noopener nofollow noreferrer">{{ certification.credential_id }}</a>
102
+ <span class="print-only-inline">&nbsp;({{ certification.credential_url }})</span>
103
+ </span>
104
+ {% else %}
105
+ {{ certification.credential_id }}
106
+ {% endif %}
107
+ {% endif %}
108
+ </h4>
109
+ </div>
110
+ {% endif %}
111
+ {% endfor %}
112
+ </section>
113
+ <!-- end Licenses & Certifications -->
114
+
115
+ {% elsif include.section_name == "courses" and site.resume_section.courses %}
116
+ <!-- begin Courses -->
117
+ <section class="content-section">
118
+ <header class="section-header">
119
+ <h2>الدورات</h2>
120
+ </header>
121
+
122
+ {% for course in resume_data.courses %}
123
+ {% if course.active == true %}
124
+ <div class="resume-item">
125
+ <h3 class="resume-item-title" itemprop="award">{{ course.name }}</h3>
126
+ <h4 class="resume-item-details">
127
+ {{ course.issuing_organization }} &bull; {% include ar-date.html date=course.startdate style="MDY" %}
128
+ {% if course.enddate %} &mdash; {% include ar-date.html date=course.enddate style="MDY" %} {% endif %}
129
+ </h4>
130
+
131
+ {% if site.enable_summary == true %}
132
+ <p class="resume-item-copy">{{ course.summary }}</p>
133
+ {% endif %}
134
+
135
+ {% if course.credential_id %}
136
+ <p class="resume-item-copy">معرّف الاعتماد:
137
+ {% if course.credential_url %}
138
+ <a href="{{ course.credential_url }}" target="_blank" rel="noopener nofollow noreferrer">{{ course.credential_id }}</a>
139
+ <span class="print-only-inline">&nbsp;({{ course.credential_url }})</span>
140
+ {% else %}
141
+ {{ course.credential_id }}
142
+ {% endif %}
143
+ </p>
144
+ {% endif %}
145
+ </div>
146
+ {% endif %}
147
+ {% endfor %}
148
+ </section>
149
+ <!-- end Courses -->
150
+
151
+ {% elsif include.section_name == "volunteering" and site.resume_section.volunteering %}
152
+ <!-- begin Volunteering -->
153
+ <section class="content-section">
154
+ <header class="section-header">
155
+ <h2>الأعمال التطوعية</h2>
156
+ </header>
157
+
158
+ {%- assign active_vol = resume_data.volunteering | where: "active", true -%}
159
+ {%- assign vgroups = active_vol | group_by: "company" -%}
160
+
161
+ {%- for vgroup in vgroups -%}
162
+ <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
163
+ <h3 class="resume-item-title" itemprop="name">{{ vgroup.name }}</h3>
164
+
165
+ {%- assign vroles = vgroup.items | sort: "startdate" | reverse -%}
166
+ {%- for v in vroles -%}
167
+ <h4 class="resume-item-details" itemprop="description">
168
+ {{ v.position }} &bull;
169
+ {%- if v.durations -%}
170
+ {%- for time in v.durations -%} {{ time.duration }} {%- endfor -%}
171
+ {%- else -%}
172
+ {% include ar-date.html date=v.startdate style="MY" %} &mdash;
173
+ {%- if v.enddate and v.enddate != 'Present' and v.enddate != 'حتى الآن' -%}
174
+ {% include ar-date.html date=v.enddate style="MY" %}
175
+ {%- else -%}
176
+ حتى الآن
177
+ {%- endif -%}
178
+ {%- endif -%}
179
+ {%- if v.location -%}
180
+ &bull; {{ v.location }}
181
+ {%- endif -%}
182
+ </h4>
183
+
184
+ {%- if site.enable_summary == true and v.summary -%}
185
+ <div class="resume-item-copy">{{ v.summary }}</div>
186
+ {%- endif -%}
187
+ {%- endfor -%}
188
+ </div><!-- end of grouped volunteering item -->
189
+ {%- endfor -%}
190
+ </section>
191
+ <!-- end Volunteering -->
192
+
193
+ {% elsif include.section_name == "projects" and site.resume_section.projects %}
194
+ <!-- begin Projects -->
195
+ <section class="content-section">
196
+ <header class="section-header">
197
+ <h2>المشاريع</h2>
198
+ </header>
199
+
200
+ {% for project in resume_data.projects %}
201
+ {% if project.active == true %}
202
+ <div class="resume-item" itemscope itemtype="http://schema.org/CreativeWork">
203
+ <meta itemprop="creator" content="{{ site.name.first }} {{ site.name.middle }} {{ site.name.last }}" itemtype="http://schema.org/Person" />
204
+ <h3 class="resume-item-title" itemprop="name" style="display: inline-block;">
205
+ {% if project.url %}
206
+ <a href="{{ project.url }}" target="_blank" rel="noopener nofollow noreferrer" itemprop="url">{{ project.project }}</a>
207
+ {% else %}
208
+ {{ project.project }}
209
+ {% endif %}
210
+ </h3>
211
+
212
+ {% if project.url %}
213
+ <span class="print-only-inline" style="display: inline;">&nbsp;{{ project.url }}</span>
214
+ {% endif %}
215
+
216
+ <h4 class="resume-item-details" itemprop="description">{{ project.role }} &bull; {{ project.duration }}</h4>
217
+ <p class="resume-item-copy">{{ project.description }}</p>
218
+ </div>
219
+ {% endif %}
220
+ {% endfor %}
221
+ </section>
222
+ <!-- end Projects -->
223
+
224
+ {% elsif include.section_name == "skills" and site.resume_section.skills %}
225
+ <!-- begin Skills -->
226
+ <section class="content-section">
227
+ <header class="section-header">
228
+ <h2>المهارات</h2>
229
+ </header>
230
+
231
+ {% for skill in resume_data.skills %}
232
+ {% if skill.active == true %}
233
+ <div class="resume-item">
234
+ <h4 class="resume-item-details">{{ skill.skill }}</h4>
235
+ <p class="resume-item-copy">{{ skill.description }}</p>
236
+ </div>
237
+ {% endif %}
238
+ {% endfor %}
239
+ </section>
240
+ <!-- end Skills -->
241
+
242
+ {% elsif include.section_name == "recognition" and site.resume_section.recognition %}
243
+ <!-- begin Recognition -->
244
+ <section class="content-section">
245
+ <header class="section-header">
246
+ <h2>الجوائز والتكريم</h2>
247
+ </header>
248
+
249
+ {% for recognition in resume_data.recognitions %}
250
+ {% if recognition.active == true %}
251
+ <div class="resume-item">
252
+ <h3 class="resume-item-title" itemprop="award">{{ recognition.award }}</h3>
253
+ <h4 class="resume-item-details">{{ recognition.organization }} &bull; {{ recognition.year }}</h4>
254
+ <p class="resume-item-copy">{{ recognition.summary }}</p>
255
+ </div>
256
+ {% endif %}
257
+ {% endfor %}
258
+ </section>
259
+ <!-- end Recognition -->
260
+
261
+ {% elsif include.section_name == "associations" and site.resume_section.associations %}
262
+ <!-- begin Associations -->
263
+ <section class="content-section">
264
+ <header class="section-header">
265
+ <h2>العضويات</h2>
266
+ </header>
267
+
268
+ {% for association in resume_data.associations %}
269
+ {% if association.active == true %}
270
+ <div class="resume-item" itemscope itemprop="memberOf" itemtype="http://schema.org/Organization">
271
+ <h3 class="resume-item-title" itemprop="name" style="display: inline-block;">
272
+ {% if association.url %}
273
+ <a href="{{ association.url }}" target="_blank" rel="noopener nofollow noreferrer">{{ association.organization }}</a>
274
+ {% else %}
275
+ {{ association.organization }}
276
+ {% endif %}
277
+ </h3>
278
+
279
+ {% if association.url %}
280
+ <span class="print-only-inline" style="display: inline;">&nbsp;{{ association.url }}</span>
281
+ {% endif %}
282
+
283
+ <h4 class="resume-item-details" itemprop="description">{{ association.role }} &bull; {{ association.year }}</h4>
284
+ <p class="resume-item-copy">{{ association.summary }}</p>
285
+ </div>
286
+ {% endif %}
287
+ {% endfor %}
288
+ </section>
289
+ <!-- end Associations -->
290
+
291
+ {% elsif include.section_name == "interests" and site.resume_section.interests %}
292
+ <!-- begin Interests -->
293
+ <section class="content-section">
294
+ <header class="section-header">
295
+ <h2>الاهتمامات الخارجية</h2>
296
+ </header>
297
+
298
+ <div class="resume-item">
299
+ <ul class="resume-item-list">
300
+ {% for interest in resume_data.interests %}
301
+ <li>{{ interest.description }}</li>
302
+ {% endfor %}
303
+ </ul>
304
+ </div>
305
+ </section>
306
+ <!-- end Interests -->
307
+
308
+ {% elsif include.section_name == "languages" and site.resume_section.languages and site.resume_section.lang_header == false %}
309
+ <!-- begin Languages -->
310
+ <section class="content-section">
311
+ <header class="section-header">
312
+ <h2>اللغات</h2>
313
+ </header>
314
+
315
+ {%- assign active_languages = resume_data.languages | where: "active", true -%}
316
+ <table class="languages-table">
317
+ <tbody>
318
+ {%- for lang in active_languages -%}
319
+ {%- assign mod = forloop.index0 | modulo: 2 -%}
320
+ {%- if mod == 0 -%}
321
+ <tr>
322
+ {%- endif -%}
323
+
324
+ <td class="lang-cell">
325
+ <p class="lang-entry">
326
+ <span class="resume-item-details">{{ lang.language }}</span>
327
+ &mdash;
328
+ <span class="resume-item-copy">{{ lang.description }}</span>
329
+ </p>
330
+ </td>
331
+
332
+ {%- if mod == 1 or forloop.last -%}
333
+ {%- if forloop.last and mod == 0 -%}
334
+ <td class="lang-cell"></td>
335
+ {%- endif -%}
336
+ </tr>
337
+ {%- endif -%}
338
+ {%- endfor -%}
339
+ </tbody>
340
+ </table>
341
+ </section>
342
+ <!-- end Languages -->
343
+
344
+ {% elsif include.section_name == "links" and site.resume_section.links %}
345
+ <!-- begin Links -->
346
+ <section class="content-section">
347
+ <header class="section-header">
348
+ <h2>روابط إضافية</h2>
349
+ </header>
350
+
351
+ <div class="resume-item">
352
+ <ul class="resume-item-list">
353
+ {% for link in resume_data.links %}
354
+ {% if link.active == true %}
355
+ <li>
356
+ <a href={{ link.url }} target="_blank" rel="noopener nofollow noreferrer" itemprop="url">{{ link.description }}</a>
357
+ <span class="print-only-inline">&nbsp;{{ link.url }}</span>
358
+ </li>
359
+ {% endif %}
360
+ {% endfor %}
361
+ </ul>
362
+ </div>
363
+ </section>
364
+ <!-- end Links -->
365
+
366
+ {% endif %}