forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
9,311 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site/ | ||
.git/ | ||
assets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
FROM bitnami/minideb:latest | ||
|
||
Label MAINTAINER Amir Pourmand | ||
|
||
RUN apt-get update -y | ||
|
||
# add locale | ||
RUN apt-get -y install locales | ||
# Set the locale | ||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ | ||
locale-gen | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
# add ruby and jekyll | ||
RUN apt-get install --no-install-recommends ruby-full build-essential zlib1g-dev -y | ||
RUN apt-get install imagemagick -y | ||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/ | ||
# ENV GEM_HOME='root/gems' \ | ||
# PATH="root/gems/bin:${PATH}" | ||
RUN apt-get install --no-install-recommends ruby-full build-essential zlib1g-dev -y | ||
RUN apt-get install imagemagick -y | ||
|
||
# install python3 and jupyter | ||
RUN apt-get install python3-pip -y | ||
RUN python3 -m pip install jupyter --break-system-packages | ||
|
||
# install jekyll and dependencies | ||
RUN gem install jekyll bundler | ||
|
||
RUN mkdir /srv/jekyll | ||
|
||
ADD Gemfile /srv/jekyll | ||
|
||
WORKDIR /srv/jekyll | ||
RUN bundle install | ||
|
||
RUN bundle install | ||
|
||
# Set Jekyll environment | ||
ENV JEKYLL_ENV=production | ||
|
||
EXPOSE 8080 | ||
|
||
CMD ["/bin/bash", "-c", "rm -f Gemfile.lock && exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose --trace"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="list-groups"> | ||
{% for content in entry.contents %} | ||
<div class="list-group col-md-6"> | ||
<table class="table-cv list-group-table"> | ||
<tbody> | ||
<tr> | ||
{% if content.icon %} | ||
<td class="list-group-category-icon"><i class="{{ content.icon }}"></i></td> | ||
{% else %} | ||
<td class="list-group-category-icon"></td> | ||
{% endif %} | ||
<!-- Calculate colspan number for category title --> | ||
{% assign i = 1 %} | ||
{% for item in content.items %} | ||
{% assign i = i | plus:1 %} | ||
{% endfor %} | ||
<td colspan="{{ i }}" class="list-group-category">{{ content.category }}</td> | ||
</tr> | ||
{% for item in content.items %} | ||
<tr> | ||
<td></td> | ||
<td class="list-group-name"><b>{{ item.name }}</b></td> | ||
{% if item.level %} | ||
<td class="list-group-level">{{ item.level }}</td> | ||
{% endif %} | ||
{% if item.school %} | ||
<td class="list-group-school">{{ item.school }} | ||
{% endif %} | ||
{% if item.time %} | ||
<br><span class="list-group-time">{{ item.time }}</span></td> | ||
{% else %} | ||
</td> | ||
{% endif %} | ||
{% if item.link %} | ||
<td class="list-group-link"><a href="{{ item.link }}" target="_blank" class="btncv z-depth-0">{% if item.linkname %}{{ item.linkname }}{% else %}DOC{% endif %}</a></td> | ||
{% endif %} | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
<table class="table table-sm table-borderless table-responsive table-cv-map"> | ||
{% for content in entry.contents %} | ||
<tr> | ||
<td class="p-1 pr-2 font-weight-bold"><b>{{ content.name }}</b></td> | ||
<td class="p-1 pl-2 font-weight-light text">{{ content.value }}</td> | ||
</tr> | ||
{% endfor %} | ||
<table class="table table-cv table-sm table-borderless table-responsive"> | ||
{% for content in entry.contents %} | ||
<tr> | ||
<td class="p-1 pr-2 font-weight-bold"><b>{{ content.name }}</b></td> | ||
{% if content.value %} | ||
<td class="p-1 pl-2 font-weight-light text">{{ content.value }}</td> | ||
{% endif %} | ||
{% if content.links %} | ||
<td class="p-1 pl-2 font-weight-light text"> | ||
<div class="container-pdf"> | ||
{% for item in content.links %} | ||
{% if item.link %} | ||
<div class="container-link-button"> | ||
{% if item.name %} | ||
<a href="{{ item.link }}" target="_blank" class="btncv z-depth-0">{{ item.name}}</a> | ||
{% else %} | ||
<a href="{{ item.link }}" target="_blank" class="btncv z-depth-0">doc</a> | ||
{% endif %} | ||
</div> | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
</td> | ||
{% endif %} | ||
</tr> | ||
{% endfor %} | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.