Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadi Sinaee <3697216+hadisinaee@users.noreply.github.com>2021-06-13 19:06:28 +0300
committerGitHub <noreply@github.com>2021-06-13 19:06:28 +0300
commit19a679a50cd119c2ead3a7fb024eaf0e3585f4d7 (patch)
tree712c7c799fe72edd7df38237073f9fb331319df4
parent8456dac8b56137266b9247ab213283387cc2e4d6 (diff)
New theme! (#38)
Co-authored-by: Hadi Sinaee <hadisinaee@Hadis-MacBook-Pro.local> Co-authored-by: Hadi Sinaee <sinaee@cs.ubc.ca>
-rw-r--r--LICENSE2
-rw-r--r--README.md283
-rw-r--r--archetypes/default.md2
-rw-r--r--archetypes/projects.md12
-rw-r--r--archetypes/publications.md19
-rw-r--r--avicenna_folder.pngbin0 -> 13468 bytes
-rw-r--r--exampleSite/config.toml137
-rw-r--r--exampleSite/content/.gitkeep0
-rw-r--r--exampleSite/content/about/_index.md62
-rw-r--r--exampleSite/content/home/about.md14
-rw-r--r--exampleSite/content/home/index.md6
-rw-r--r--exampleSite/content/home/projects.md17
-rw-r--r--exampleSite/content/home/publications.md17
-rw-r--r--exampleSite/content/projects/hodhod/index.md7
-rw-r--r--exampleSite/content/projects/hodhod/logo.pngbin66814 -> 0 bytes
-rw-r--r--exampleSite/content/projects/index.md8
-rw-r--r--exampleSite/content/projects/proj1.md10
-rw-r--r--exampleSite/content/projects/proj2.md10
-rw-r--r--exampleSite/content/publications/index.md8
-rw-r--r--exampleSite/content/publications/mybestpaper/index.md7
-rw-r--r--exampleSite/content/publications/pub1.md19
-rw-r--r--exampleSite/content/publications/pub2.md17
-rw-r--r--exampleSite/static/HadiSinaee_CV.pdfbin81779 -> 0 bytes
-rwxr-xr-xexampleSite/static/android-chrome-192x192.pngbin9177 -> 0 bytes
-rwxr-xr-xexampleSite/static/android-chrome-512x512.pngbin25601 -> 0 bytes
-rwxr-xr-xexampleSite/static/apple-touch-icon.pngbin8198 -> 0 bytes
-rwxr-xr-xexampleSite/static/favicon-16x16.pngbin514 -> 0 bytes
-rwxr-xr-xexampleSite/static/favicon-32x32.pngbin1046 -> 0 bytes
-rw-r--r--exampleSite/static/images/profile.pngbin0 -> 87568 bytes
-rw-r--r--exampleSite/static/profile.jpgbin33461 -> 0 bytes
-rwxr-xr-xexampleSite/static/site.webmanifest1
-rw-r--r--images/screenshot.pngbin472309 -> 160682 bytes
-rw-r--r--images/tn.pngbin228108 -> 149121 bytes
-rw-r--r--layouts/_default/baseof.html20
-rw-r--r--layouts/_default/list.html13
-rw-r--r--layouts/_default/single.html30
-rw-r--r--layouts/index.html65
-rw-r--r--layouts/partials/about/about.html11
-rw-r--r--layouts/partials/about/interests_academia.html60
-rw-r--r--layouts/partials/about/introduction.html96
-rw-r--r--layouts/partials/core/footer.html6
-rw-r--r--layouts/partials/core/head.html23
-rw-r--r--layouts/partials/core/script.html8
-rw-r--r--layouts/partials/footer.html13
-rw-r--r--layouts/partials/head.html45
-rw-r--r--layouts/partials/header.html42
-rw-r--r--layouts/partials/introduction.html11
-rw-r--r--layouts/partials/projects.html35
-rw-r--r--layouts/partials/projects/projects.html34
-rw-r--r--layouts/partials/publications.html38
-rw-r--r--layouts/partials/publications/publications.html79
-rw-r--r--setup_avicenna.sh12
-rw-r--r--static/css/main.css439
-rw-r--r--static/css/normalize.css1
-rw-r--r--static/css/style.css163
-rw-r--r--static_folder.pngbin0 -> 4098 bytes
-rw-r--r--theme.toml20
57 files changed, 926 insertions, 996 deletions
diff --git a/LICENSE b/LICENSE
index 46fe619..af9ede0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2019 YOUR_NAME_HERE
+Copyright (c) 2020 Hadi Sinaee
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/README.md b/README.md
index e1d1468..516c07c 100644
--- a/README.md
+++ b/README.md
@@ -1,185 +1,136 @@
# Avicenna Theme
-A minimal academic page for academics built with Hugo.
-
-> This theme hugely benefits from `Ezhil Theme`. I just made some changes to create `avicenna`.
-> __NOTE: I will review all the pull requests in the second half of Nov. 2019. Thanks for your contributions :v:__
+A minimal academic page for academics!
![Screenshot](images/screenshot.png "Avicenna")
# Features
* Minimal, Responsive, and Clean
-* Single File Configuration
-* Supports Social Links
-* Supports Publication Listing
-* Supports Project Listing
* Supports Google Analytics
-* Supports Hugo RSS feeds
+* Supports Social Links
+* Supports Publications Listing
+* Supports Projects Listing
+
+# How to use `Avicenna`?
+To use `Avicenna`, you need to follow three steps:
+1. Setup a site with `Avicenna`
+2. Customize the site to your needs
+3. Build your site and deploy it to your host
+
+The following sections are based on the mentioned steps.
+# 1. How to setup a site with `Avicenna`?
+There are 2 ways to install `Avicenna`:
+1. The first one is a step-by-step approach that you could use to install it.
+2. The second one is just an automated script based on the first approach.
+
+Pick the one that works for you well. Also, I provided a link to a video clip showing the whole process of installation for both approaches.
+
+## 1. Step-by-Step Installation
+1. You need to install [Hugo][1] first!
+2. Create a new site and go to the directory:
+```bash
+# replace the `my_cool_page` with whatever you want!
+hugo new site my_cool_page
+
+# move to your project folder
+cd my_cool_page
+```
-# How To Install `Avicenna`?
-> I assume that you know to start with `Hugo`. If you do not know how to run a website with `Hugo`, please read its [quick start](https://gohugo.io/getting-started/quick-start/).
+3. Add the stable release of `Avicenna` (the `master` branch) to your `themes` folder:
+```bash
+git clone -b master git@github.com:hadisinaee/avicenna.git ./themes/avicenna
+```
-See the full setup in ~70 seconds:
-[![asciicast](https://asciinema.org/a/7ZReSH0ws7HVbI1c6UUN7wzfd.svg)](https://asciinema.org/a/7ZReSH0ws7HVbI1c6UUN7wzfd)
+4. Copy the sample site to your project:
+```bash
+cp -R themes/avicenna/exampleSite/* ./
+```
-Or simply follow the instructions:
+5. Run the site:
```bash
-# creates a static site
-$ hugo new site my-academic-page
-$ cd my-academic-page
-$ cd themes
-$ git clone https://github.com/hadisinaee/avicenna.git
-$ cd ..
-$ cp ./themes/avicenna/exampleSite/config.toml ./
-$ cp Path/To/YourPrile/profile.jpg ./static/profile.jpg
-$ hugo server
+hugo serve
```
-# Sample Configuration
-
-To kick start, copy the following configuration and paste it in `config.toml` file in your root directory.
-
-__IMPORTANT__
- - copy your profile picture and name it `profile.jpg` in the `static` folder
- - copy your CV file in the `static` folder. Set the `cv_name` variable to its full file name.
-
-```toml
-baseURL = "https://example.edu"
-languageCode = "en-us"
-title = "Hadi Sinaee"
-theme = "avicenna"
-googleAnalytics = "UA-1234-6"
-timeout=3000
-
-[params]
- subtitle= "PhD Student"
- interests="Deep Reinforcement Learning, Machine Learning "
- cv_name= "HadiSinaee_CV.pdf"
- blog="http://myblog.edu"
-
-[[params.affilation]]
- name = "Stanford University"
- position = "PhD Student"
- contact = "hadi@cs.stanford.edu"
-
-[[params.affilation]]
- name = "MyCoolStartup"
- position = "Co-Founder"
- contact = "hadi@mycoolstartup.ai"
-
-[[params.social]]
- name = "GitHub"
- icon = "github"
- url = "https://github.com/hadisinaee"
-
-[[params.social]]
- name = "Twitter"
- icon = "twitter"
- url = "https://twitter.com/hadisinaee"
-
-
-[[params.social]]
- name = "LinkedIn"
- icon = "linkedin"
- url = "https://linkedin.com/in/hadisinaee/"
-
-
-[[params.introduction.paragraph]]
- text="""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Nunc scelerisque viverra mauris in aliquam sem fringilla ut morbi. Integer feugiat scelerisque varius morbi enim.
- A diam maecenas sed enim ut sem viverra. Orci eu lobortis elementum nibh tellus.
- Egestas sed sed risus pretium quam vulputate dignissim suspendisse in.
- Accumsan sit amet nulla facilisi morbi tempus iaculis urna. Condimentum lacinia quis vel eros donec.
- """
-[[params.introduction.paragraph]]
- text=""" Pellentesque nec nam aliquam sem et tortor consequat id porta.
- Viverra suspendisse potenti nullam ac. Leo vel orci porta non pulvinar neque laoreet.
- Nulla facilisi nullam vehicula ipsum a arcu. Tempus egestas sed sed risus pretium quam vulputate dignissim suspendisse.
- Ullamcorper velit sed ullamcorper morbi tincidunt ornare. Dui sapien eget mi proin sed libero.
- Quam pellentesque nec nam aliquam sem et tortor consequat id. Aliquet lectus proin nibh nisl.
- """
-
-
-[[params.projects]]
- [[params.projects.project]]
- name = "Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor"
- description = "Enim facilisis gravida neque convallis a. Suspendisse potenti nullam ac tortor vitae purus faucibus ornare suspendisse.Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor. In nisl nisi scelerisque eu ultrices vitae auctor."
- project_page = "https://myprojecthomepage.com"
- code_link = "https://coderepo.com"
- blog_link = "https://ablogpost.com"
-
- [[params.projects.project]]
- name = "In nisl nisi scelerisque eu ultrices vitae auctor"
- description = ""
- project_page = "https://myprojecthomepage.com"
- code_link = "https://coderepo.com"
- blog_link = ""
-
- [[params.projects.project]]
- name = "Integer eget aliquet nibh praesent tristique magna"
- description = ""
- project_page = "https://myprojecthomepage.com"
- code_link = ""
- blog_link = "https://ablogpost.com"
-
-[[params.publications]]
- year="Preprint"
-
- [[params.publications.paper]]
- name = "Enim nunc faucibus a pellentesque sit amet porttitor"
- authors = "Ana Alvardo, William Worthley, __Hadi Sinaee__"
- dest = "Helga Zita Journal"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = "https://myblogaboutit.com"
-
- [[params.publications.paper]]
- name = "In cursus turpis massa tincidunt dui ut ornare lectus sit"
- authors = "__Hadi Sinaee__,Les Larkins, Edra Ethier"
- dest = "Meklit Katlego Conference"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = "https://myblogaboutit.com"
-
-[[params.publications]]
- year="2019"
-
- [[params.publications.paper]]
- name = "Feugiat sed lectus vestibulum mattis ullamcorper velit sed"
- authors = "Caroll Comes, __Hadi Sinaee__"
- dest = "Udo Madhu Journal"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = ""
-
- [[params.publications.paper]]
- name = "Venenatis urna cursus eget nunc. Nam aliquam sem et tortor consequat id porta nibh venenatis"
- authors = "Les Larkins, Ana Alvardo, __Hadi Sinaee__ "
- dest = "Zorka Vita Conference"
- link = "https://mypaperishere.com"
- code_link = ""
- blog_link = "https://myblogaboutit.com"
-
- [[params.publications.paper]]
- name = "Aliquet eget sit amet tellus cras adipiscing enim eu turpis"
- authors = "Les Larkins, __Hadi Sinaee__, Ana Alvardo"
- dest = "Lena Randa Conference"
- link = "https://mypaperishere.com"
- code_link = ""
- blog_link = ""
-
- [[params.publications.paper]]
- name = "Orci eu lobortis elementum nibh tellus molestie nunc non blandit"
- authors = "__Hadi Sinaee__, Caroll Comes"
- dest = "Thandeka Radhika Conference"
- link = ""
- code_link = ""
- blog_link = ""
+Now, you should be able to see the site at [http://localhost:1313](http://localhost:1313/)
+
+## 2. Automated Script
+In this approach, all you need is to replace the `my_cool_page` with your desired name in the following script:
+
+```bash
+wget https://raw.githubusercontent.com/hadisinaee/avicenna/master/setup_avicenna.sh && sh setup_avicenna.sh my_cool_page
+```
+Run the site:
+```bash
+hugo serve
```
-# Any Idea?
-I am using `Avicenna` for my personal uses. Therefore, I will update it regularly. If you need something that doesn't exist, let's discuss it over an issue :)
+Now, you should be able to see the site at http://localhost:1313
+
+# 2. How to Customize `Avicenna`?
+
+## Start With the `config.toml`
+You can start the customization with the `config.toml` file. It's located a the root of your project. In this file, you can set your name, your website URL, googleAnalytics id, etc.
+
+## Adding Your Profile Picture, CV, and Favicon
+There is a folder named `static` under the root of your site's folder. Its structure is as follows:
+
+![static_folder](./static_folder.png)
+
+- **Profile Picture**: Simply replace `profile.png` with your profile file. Please use the same name and extenstion, e.g. `profile.png`. It doesn't work if you use another *name* or *extension*.
+- **CV**: You need to put your CV directly under `static` folder. I recommend you to use the name `cv.pdf` for your CV file. Also, if you wanted to use another file name, you would need to change it in your introduction. See Introduction Section.
+- **Favicon**: It has the same procedure as your profile picture.
+
+## Content
+All files and folders that you need to modify lies in the `content` folder. The folder should look like this
+
+![the content folder structure](avicenna_folder.png)
+
+Avicenna theme has three different sections: `Introduction`, `Publications`, and `Projects`. Based on the previous figure, you might have an intuition where you should modify. However, there are some details that I have to provide.
+
+## `Introduction` Section
+`Introduction` section is where you put details about yourself, such as your name, profile, interests, etc. To modify the introduction section, you need to edit the `content/about/_index.md` file.
+
+## `Publications` Section
+All your publications are stored in `content/publications`. To create a new publication:
+
+```
+hugo new publications/your-pub-name.md
+```
+
+If was successful, you would see a message similar to the following:
+
+```
+YOUR_PROJECT_PATH/content/publications/your-pub-name.md
+```
+
+To edit the file, go to `content/publications` and then find your `your-pub-name.md` file and change it.
+
+
+## Project Section
+All your projects are stored in `content/projects`. To create a new project:
+
+```
+hugo new projects/your-project-name.md
+```
+
+If was successful, you would see a message similar to the following:
+
+```
+YOUR_PROJECT_PATH/content/projects/your-project-name.md
+```
+
+To edit the file, go to `content/projects` and then find your `your-project-name.md` file and change it.
+
+
+# 3. How to Deploy `Avicenna`?
+1. Make sure you have changed your `baseURL` in the `config.toml` file. It should be the address you want to deploy `Avicenna` on.
+2. Run `hugo` in the root of your project. The result will be in the `public` folder in the root of your project.
+3. Copy `public` folder and move it your host server.
# Credits
-* [Ezhil Theme](https://github.com/vividvilla/ezhil)
* [Feather Icons](https://feathericons.com/)
+* [Academic Icons](https://jpswalsh.github.io/academicons/)
+* [Academic Hugo](https://wowchemy.com/templates/)
+
+
+[1]: https://gohugo.io/getting-started/installing/ \ No newline at end of file
diff --git a/archetypes/default.md b/archetypes/default.md
deleted file mode 100644
index ac36e06..0000000
--- a/archetypes/default.md
+++ /dev/null
@@ -1,2 +0,0 @@
-+++
-+++
diff --git a/archetypes/projects.md b/archetypes/projects.md
new file mode 100644
index 0000000..96d74a6
--- /dev/null
+++ b/archetypes/projects.md
@@ -0,0 +1,12 @@
+---
+title: "Your Project Title Goes Here"
+
+# a date for your project in this format"2019-03-30"
+# date is used for ordering your projects in a descending order
+date: "2019-03-30"
+
+# links is used for specific links for your project
+links:
+ website: 'https://github.com/'
+---
+
diff --git a/archetypes/publications.md b/archetypes/publications.md
new file mode 100644
index 0000000..7b6ef58
--- /dev/null
+++ b/archetypes/publications.md
@@ -0,0 +1,19 @@
+---
+title: "Change this publication at content/publications/"
+authors:
+- Your Full Name
+- Another Researcher
+date: "2018-09-01"
+
+publication: "Journal of Machine Learning"
+
+links:
+ url_pdf: https://github.com/hadisinaee/avicenna
+ url_code: https://github.com/hadisinaee/avicenna
+ url_slides: https://github.com/hadisinaee/avicenna
+ url_video: https://github.com/hadisinaee/avicenna
+
+---
+
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/avicenna_folder.png b/avicenna_folder.png
new file mode 100644
index 0000000..e53397d
--- /dev/null
+++ b/avicenna_folder.png
Binary files differ
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 1ef7b9a..58515a5 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,131 +1,16 @@
-baseURL = "https://example.edu"
-languageCode = "en-us"
-title = "Hadi Sinaee"
-theme = "avicenna"
-googleAnalytics = "UA-1234-6"
-timeout=3000
-
-[params]
- subtitle= "PhD Student"
- interests="Deep Reinforcement Learning, Machine Learning "
- cv_name= "HadiSinaee_CV.pdf"
- blog="http://myblog.edu"
-
-[[params.affilation]]
- name = "Stanford University"
- position = "PhD Student"
- contact = "hadi@cs.stanford.edu"
-
-[[params.affilation]]
- name = "MyCoolStartup"
- position = "Co-Founder"
- contact = "hadi@mycoolstartup.ai"
-
-[[params.social]]
- name = "GitHub"
- icon = "github"
- url = "https://github.com/hadisinaee"
-
-[[params.social]]
- name = "Twitter"
- icon = "twitter"
- url = "https://twitter.com/hadisinaee"
-
-
-[[params.social]]
- name = "LinkedIn"
- icon = "linkedin"
- url = "https://linkedin.com/in/hadisinaee/"
-
+baseURL = "https://example.edu/"
-[[params.introduction.paragraph]]
- text="""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Nunc scelerisque viverra mauris in aliquam sem fringilla ut morbi. Integer feugiat scelerisque varius morbi enim.
- A diam maecenas sed enim ut sem viverra. Orci eu lobortis elementum nibh tellus.
- Egestas sed sed risus pretium quam vulputate dignissim suspendisse in.
- Accumsan sit amet nulla facilisi morbi tempus iaculis urna. Condimentum lacinia quis vel eros donec.
- """
-[[params.introduction.paragraph]]
- text=""" Pellentesque nec nam aliquam sem et tortor consequat id porta.
- Viverra suspendisse potenti nullam ac. Leo vel orci porta non pulvinar neque laoreet.
- Nulla facilisi nullam vehicula ipsum a arcu. Tempus egestas sed sed risus pretium quam vulputate dignissim suspendisse.
- Ullamcorper velit sed ullamcorper morbi tincidunt ornare. Dui sapien eget mi proin sed libero.
- Quam pellentesque nec nam aliquam sem et tortor consequat id. Aliquet lectus proin nibh nisl.
- """
+# set your your own ga token here.
+googleAnalytics = "UA/G-11111-1112"
+languageCode = "en-us"
-[[params.projects]]
- [[params.projects.project]]
- name = "Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor"
- description = "Enim facilisis gravida neque convallis a. Suspendisse potenti nullam ac tortor vitae purus faucibus ornare suspendisse.Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor. In nisl nisi scelerisque eu ultrices vitae auctor."
- project_page = "https://myprojecthomepage.com"
- code_link = "https://coderepo.com"
- blog_link = "https://ablogpost.com"
-
- [[params.projects.project]]
- name = "In nisl nisi scelerisque eu ultrices vitae auctor"
- description = ""
- project_page = "https://myprojecthomepage.com"
- code_link = "https://coderepo.com"
- blog_link = ""
-
- [[params.projects.project]]
- name = "Integer eget aliquet nibh praesent tristique magna"
- description = ""
- project_page = "https://myprojecthomepage.com"
- code_link = ""
- blog_link = "https://ablogpost.com"
-
-[[params.publications]]
- year="Preprint"
-
- [[params.publications.paper]]
- name = "Enim nunc faucibus a pellentesque sit amet porttitor"
- authors = "Ana Alvardo, William Worthley, __Hadi Sinaee__"
- dest = "Helga Zita Journal"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = "https://myblogaboutit.com"
-
- [[params.publications.paper]]
- name = "In cursus turpis massa tincidunt dui ut ornare lectus sit"
- authors = "__Hadi Sinaee__,Les Larkins, Edra Ethier"
- dest = "Meklit Katlego Conference"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = "https://myblogaboutit.com"
-
-[[params.publications]]
- year="2019"
-
- [[params.publications.paper]]
- name = "Feugiat sed lectus vestibulum mattis ullamcorper velit sed"
- authors = "Caroll Comes, __Hadi Sinaee__"
- dest = "Udo Madhu Journal"
- link = "https://mypaperishere.com"
- code_link = "https://thecoderepo.com"
- blog_link = ""
-
- [[params.publications.paper]]
- name = "Venenatis urna cursus eget nunc. Nam aliquam sem et tortor consequat id porta nibh venenatis"
- authors = "Les Larkins, Ana Alvardo, __Hadi Sinaee__ "
- dest = "Zorka Vita Conference"
- link = "https://mypaperishere.com"
- code_link = ""
- blog_link = "https://myblogaboutit.com"
+# for using avicenna you need to set the `themes` to 'avicenna'
+theme = "avicenna"
- [[params.publications.paper]]
- name = "Aliquet eget sit amet tellus cras adipiscing enim eu turpis"
- authors = "Les Larkins, __Hadi Sinaee__, Ana Alvardo"
- dest = "Lena Randa Conference"
- link = "https://mypaperishere.com"
- code_link = ""
- blog_link = ""
+# This is your page title, it appears in your tab
+title = "YOUR NAME HERE"
- [[params.publications.paper]]
- name = "Orci eu lobortis elementum nibh tellus molestie nunc non blandit"
- authors = "__Hadi Sinaee__, Caroll Comes"
- dest = "Thandeka Radhika Conference"
- link = ""
- code_link = ""
- blog_link = ""
+[params]
+# it is used for the copy-right section of your page
+name = "YOUR NAME HERE"
diff --git a/exampleSite/content/.gitkeep b/exampleSite/content/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/exampleSite/content/.gitkeep
+++ /dev/null
diff --git a/exampleSite/content/about/_index.md b/exampleSite/content/about/_index.md
new file mode 100644
index 0000000..43a2218
--- /dev/null
+++ b/exampleSite/content/about/_index.md
@@ -0,0 +1,62 @@
+---
+title: "about"
+date: 2020-10-20T17:51:47+03:30
+draft: false
+headless: true
+
+full_name: "Hadi Sinaee"
+profile_picture: "profile.png"
+cv: "cv.pdf"
+
+socials:
+ twitter: "HadiSinaee"
+ github: "hadisinaee"
+ facebook: "hadisinaee"
+ twitch: "hadisinaee"
+ google_scholar: "hadisinaee"
+
+interests:
+ - interest 1
+ - interest 2
+ - interest 3
+
+affiliations:
+ - affiliation:
+ title: "Ph.D."
+ name: "Stanford University"
+ email: "email@cs.stanford.edu"
+ - affiliation:
+ title: "CEO & Co-Founder"
+ name: "The Coolest Startup In the World"
+ email: "email@mycoolstartup.ai"
+
+academia:
+ - course:
+ degree: "Ph.D."
+ institution: "Stanford University"
+ major: "Data Systems"
+ start_date: "2021"
+ - course:
+ degree: "M.Sc."
+ institution: 'Sharif University of Technology'
+ major: 'Software Engineering'
+ start_date: '2013'
+ end_date: '2016'
+ other_info: 'graduated without first class honor, supervised by Prof. Very Cool!'
+ - course:
+ degree: "B.Sc."
+ institution: 'University of Kashan'
+ major: 'Software Engineering'
+ minor: 'Statistics'
+ start_date: '2009'
+ end_date: '2013'
+ other_info: 'graduated with first class honor, supervised by Prof. Cool!'
+---
+
+**Donec sollicitudin**, [ante pulvinar tincidunt][1] luctus, dolor mauris lobortis ex, *id tincidunt metus* risus nec ex. Curabitur magna mauris, facilisis vitae porttitor vitae, tincidunt sed mi. In at dui lectus. Integer ante arcu, vestibulum fermentum ante eu, maximus maximus quam. Curabitur placerat cursus posuere. Phasellus dui lorem, varius a augue non, eleifend accumsan mauris. Aenean varius posuere feugiat. In hac habitasse platea dictumst. Aenean quis ex quis nisl consequat fermentum in vitae nunc. Proin consectetur ac nulla in tempus. Maecenas enim nisi, pulvinar sit amet fermentum eget, ultrices vitae enim. Etiam vel sollicitudin felis.
+
+
+Donec sollicitudin, ante pulvinar tincidunt luctus, dolor mauris lobortis ex, id tincidunt metus risus nec ex. Curabitur magna mauris, facilisis vitae porttitor vitae,
+
+
+[1]: https://google.com \ No newline at end of file
diff --git a/exampleSite/content/home/about.md b/exampleSite/content/home/about.md
new file mode 100644
index 0000000..c8c8770
--- /dev/null
+++ b/exampleSite/content/home/about.md
@@ -0,0 +1,14 @@
+---
+date: 2020-10-20T18:55:12+03:30
+headless: true
+weight: 1
+content_type: "about"
+
+section_settings:
+ show_section: true
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki)
+
+DO NOT EDIT THIS FILE!
+- USE home/_index.md and make your changes there! \ No newline at end of file
diff --git a/exampleSite/content/home/index.md b/exampleSite/content/home/index.md
new file mode 100644
index 0000000..47d7766
--- /dev/null
+++ b/exampleSite/content/home/index.md
@@ -0,0 +1,6 @@
+---
+title: "home"
+date: 2020-10-20T17:51:47+03:30
+draft: false
+headless: true
+---
diff --git a/exampleSite/content/home/projects.md b/exampleSite/content/home/projects.md
new file mode 100644
index 0000000..967b9c2
--- /dev/null
+++ b/exampleSite/content/home/projects.md
@@ -0,0 +1,17 @@
+---
+title: "Projects"
+date: 2020-10-20T18:55:12+03:30
+headless: true
+weight: 2
+content_type: "projects"
+
+section_settings:
+ show_section: true
+ title: ''
+ subtitle: 'Custom Subtitle: see my github for the complete list'
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki)
+
+ADDING NEW PROJECTS
+> USE home/projects.md and make your changes there! \ No newline at end of file
diff --git a/exampleSite/content/home/publications.md b/exampleSite/content/home/publications.md
new file mode 100644
index 0000000..3a1ffee
--- /dev/null
+++ b/exampleSite/content/home/publications.md
@@ -0,0 +1,17 @@
+---
+title: "Publications"
+date: 2020-10-20T18:55:12+03:30
+headless: true
+weight: 1
+content_type: 'publications'
+
+section_settings:
+ show_section: true
+ title: 'Recent Publications'
+ subtitle: 'Custom Subtitle: see my google scholar for the latest list'
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki)
+
+ADDING NEW PUBLICATIONS
+> USE home/publications.md and make your changes there! \ No newline at end of file
diff --git a/exampleSite/content/projects/hodhod/index.md b/exampleSite/content/projects/hodhod/index.md
deleted file mode 100644
index 3e73aae..0000000
--- a/exampleSite/content/projects/hodhod/index.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: "Hodhod"
-date: 2019-08-26T16:36:11+04:30
----
-
-
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Morbi tristique senectus et netus et malesuada fames ac. Risus pretium quam vulputate dignissim suspendisse in. In cursus turpis massa tincidunt dui. Purus non enim praesent elementum facilisis. Id aliquet risus feugiat in ante metus dictum at tempor. Velit ut tortor pretium viverra suspendisse potenti nullam ac. Tincidunt augue interdum velit euismod in. In massa tempor nec feugiat nisl pretium fusce. Lacus sed viverra tellus in hac habitasse platea dictumst. Egestas fringilla phasellus faucibus scelerisque eleifend donec pretium. Risus ultricies tristique nulla aliquet enim tortor at auctor. Placerat duis ultricies lacus sed turpis tincidunt id aliquet risus. Pharetra convallis posuere morbi leo urna molestie at. Senectus et netus et malesuada fames ac. Non quam lacus suspendisse faucibus interdum posuere. Suspendisse interdum consectetur libero id faucibus. Eros in cursus turpis massa tincidunt.
diff --git a/exampleSite/content/projects/hodhod/logo.png b/exampleSite/content/projects/hodhod/logo.png
deleted file mode 100644
index 132df29..0000000
--- a/exampleSite/content/projects/hodhod/logo.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/content/projects/index.md b/exampleSite/content/projects/index.md
new file mode 100644
index 0000000..57da023
--- /dev/null
+++ b/exampleSite/content/projects/index.md
@@ -0,0 +1,8 @@
+---
+title: "Projects"
+date: 2020-10-20T17:51:47+03:30
+draft: false
+headless: true
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/content/projects/proj1.md b/exampleSite/content/projects/proj1.md
new file mode 100644
index 0000000..f0b8759
--- /dev/null
+++ b/exampleSite/content/projects/proj1.md
@@ -0,0 +1,10 @@
+---
+title: "Quisque: Tristique iaculis augue, et ornare nibh pretium in."
+
+date: "2018-05-18"
+
+links:
+ website: 'https://github.com/hadisinaee/avicenna'
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/content/projects/proj2.md b/exampleSite/content/projects/proj2.md
new file mode 100644
index 0000000..656cd14
--- /dev/null
+++ b/exampleSite/content/projects/proj2.md
@@ -0,0 +1,10 @@
+---
+title: "Vestibulum: Maecenas ac eros id libero dapibus vehicula a ut erat."
+
+date: "2019-03-30"
+
+links:
+ website: 'https://github.com/hadisinaee/avicenna'
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/content/publications/index.md b/exampleSite/content/publications/index.md
new file mode 100644
index 0000000..573d981
--- /dev/null
+++ b/exampleSite/content/publications/index.md
@@ -0,0 +1,8 @@
+---
+title: "Publications"
+date: 2020-10-20T17:51:47+03:30
+draft: false
+headless: true
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/content/publications/mybestpaper/index.md b/exampleSite/content/publications/mybestpaper/index.md
deleted file mode 100644
index 0dec2bf..0000000
--- a/exampleSite/content/publications/mybestpaper/index.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: "My Best Paper"
-date: 2019-08-26T16:36:11+04:30
----
-
-
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Morbi tristique senectus et netus et malesuada fames ac. Risus pretium quam vulputate dignissim suspendisse in. In cursus turpis massa tincidunt dui. Purus non enim praesent elementum facilisis. Id aliquet risus feugiat in ante metus dictum at tempor. Velit ut tortor pretium viverra suspendisse potenti nullam ac. Tincidunt augue interdum velit euismod in. In massa tempor nec feugiat nisl pretium fusce. Lacus sed viverra tellus in hac habitasse platea dictumst. Egestas fringilla phasellus faucibus scelerisque eleifend donec pretium. Risus ultricies tristique nulla aliquet enim tortor at auctor. Placerat duis ultricies lacus sed turpis tincidunt id aliquet risus. Pharetra convallis posuere morbi leo urna molestie at. Senectus et netus et malesuada fames ac. Non quam lacus suspendisse faucibus interdum posuere. Suspendisse interdum consectetur libero id faucibus. Eros in cursus turpis massa tincidunt.
diff --git a/exampleSite/content/publications/pub1.md b/exampleSite/content/publications/pub1.md
new file mode 100644
index 0000000..cc9a682
--- /dev/null
+++ b/exampleSite/content/publications/pub1.md
@@ -0,0 +1,19 @@
+---
+title: "Your Paper Name Goes Here"
+authors:
+- Your Full Name
+- Another Researcher
+date: "2018-09-01"
+
+publication: "Journal of Machine Learning"
+
+links:
+ url_pdf: https://github.com/hadisinaee/avicenna
+ url_code: https://github.com/hadisinaee/avicenna
+ url_slides: https://github.com/hadisinaee/avicenna
+ url_video: https://github.com/hadisinaee/avicenna
+
+---
+
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/content/publications/pub2.md b/exampleSite/content/publications/pub2.md
new file mode 100644
index 0000000..afa158a
--- /dev/null
+++ b/exampleSite/content/publications/pub2.md
@@ -0,0 +1,17 @@
+---
+title: "Your Paper Name Goes Here"
+authors:
+- Your Full Name
+- Author Name
+date: "2016-09-01"
+
+publication: "Journal of Machine Learning"
+
+links:
+ url_pdf: https://github.com/hadisinaee/avicenna
+ url_code: https://github.com/hadisinaee/avicenna
+ url_slides: https://github.com/hadisinaee/avicenna
+ url_video: https://github.com/hadisinaee/avicenna
+---
+
+[See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki) \ No newline at end of file
diff --git a/exampleSite/static/HadiSinaee_CV.pdf b/exampleSite/static/HadiSinaee_CV.pdf
deleted file mode 100644
index a96bb36..0000000
--- a/exampleSite/static/HadiSinaee_CV.pdf
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/android-chrome-192x192.png b/exampleSite/static/android-chrome-192x192.png
deleted file mode 100755
index 1c9b0e4..0000000
--- a/exampleSite/static/android-chrome-192x192.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/android-chrome-512x512.png b/exampleSite/static/android-chrome-512x512.png
deleted file mode 100755
index 82bead1..0000000
--- a/exampleSite/static/android-chrome-512x512.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/apple-touch-icon.png b/exampleSite/static/apple-touch-icon.png
deleted file mode 100755
index c7acdc1..0000000
--- a/exampleSite/static/apple-touch-icon.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/favicon-16x16.png b/exampleSite/static/favicon-16x16.png
deleted file mode 100755
index 09e7635..0000000
--- a/exampleSite/static/favicon-16x16.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/favicon-32x32.png b/exampleSite/static/favicon-32x32.png
deleted file mode 100755
index 20faec6..0000000
--- a/exampleSite/static/favicon-32x32.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/images/profile.png b/exampleSite/static/images/profile.png
new file mode 100644
index 0000000..0f860e8
--- /dev/null
+++ b/exampleSite/static/images/profile.png
Binary files differ
diff --git a/exampleSite/static/profile.jpg b/exampleSite/static/profile.jpg
deleted file mode 100644
index 70b0193..0000000
--- a/exampleSite/static/profile.jpg
+++ /dev/null
Binary files differ
diff --git a/exampleSite/static/site.webmanifest b/exampleSite/static/site.webmanifest
deleted file mode 100755
index 45dc8a2..0000000
--- a/exampleSite/static/site.webmanifest
+++ /dev/null
@@ -1 +0,0 @@
-{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file
diff --git a/images/screenshot.png b/images/screenshot.png
index 15990d6..1002175 100644
--- a/images/screenshot.png
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
index 6ef087a..56f7b37 100644
--- a/images/tn.png
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 367897b..2ae78d5 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,10 +1,14 @@
<!DOCTYPE html>
<html>
- {{ partial "header.html" . }}
- <body>
- <div id="content">
- {{- block "main" . }}{{- end -}}
- </div>
- {{ partial "footer.html" . }}
- </body>
-</html>
+{{- partial "core/head.html" . -}}
+
+<body class="container d-flex flex-column min-vh-100">
+
+
+ {{- block "main" . }}{{- end }}
+
+ {{- partial "core/footer.html" . -}}
+ {{- partial "core/script.html" . -}}
+</body>
+
+</html> \ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index e69de29..6a5cd2a 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -0,0 +1,13 @@
+{{ define "main" }}
+this is _default/list.html
+
+<h1>{{ .Title }}</h1>
+{{ range .Pages.ByPublishDate.Reverse }}
+<p>
+<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
+<a class="summary" href="{{ .RelPermalink }}">
+ <p>{{ .Summary }}</p>
+</a>
+</p>
+{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 989906b..4f8d4aa 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,26 +1,6 @@
{{ define "main" }}
-
-{{ $projectLogo := "logo.png" | printf "%s%s" .Dir }}
-
-{{ if fileExists $projectLogo -}}
-<div class="header">
- <img src="logo.png" class="logo">
-</div>
-{{- end}}
-
-<div class="header wrapper">
- <span class="page_title">
- {{ title .Title }}
- </span>
- <ul class="flat">
- <li class="page_meta">{{ .Date.Format "January 2, 2006" }}</li>
- </ul>
- <a href="{{ .Site.BaseURL }}" title="Home" class="page_meta">Return Home</a>
-</div>
-
-
-<div class="content wrapper">
- {{ .Content | markdownify }}
-</div>
-
-{{end}}
+this is _default/single.html
+<h1>{{ .Title }}</h1>
+<br><br>
+{{ .Content }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/index.html b/layouts/index.html
index 0d33cac..9178e6f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,16 +1,49 @@
-<!DOCTYPE html>
-<html>
- {{ partial "header.html" . }}
-
- <body>
- <div class="container wrapper">
- {{ partial "head.html" . }}
- {{ partial "introduction.html" . }}
- {{ partial "projects.html" . }}
- {{ partial "publications.html" . }}
- </div>
- </div>
- {{ partial "footer.html" . }}
- </body>
-
-</html>
+{{ define "main" }}
+
+{{ $headlessPage := .Site.GetPage "/home" }}
+
+{{ range where ($headlessPage.Resources.ByType "page") "Params.section_settings.show_section" true}}
+
+{{ $content_type := .Params.content_type }}
+{{ if not $content_type }}
+NO CONTENT TYPE FOUND. Set content_type = "{{.Params.title | lower }}"
+{{ end }}
+
+{{ $title := .Params.title }}
+{{ if .Params.section_settings.title }}
+{{ $title = .Params.section_settings.title }}
+{{ end }}
+
+{{ $subtitle := "" }}
+{{ if .Params.section_settings.subtitle }}
+{{ $subtitle = .Params.section_settings.subtitle }}
+{{ end }}
+
+{{ if or $title (eq $content_type "about")}}
+<div class="row w-100">
+ <div class="col w-100">
+ {{if or $title $subtitle}}
+ <div class="row w-100">
+ <div class="col w-100">
+ {{if $title }}
+ <h3 class="row w-100 section-title main_color"> {{ $title }} </h3>
+ {{ end }}
+
+ {{ if $subtitle}}
+ <h6 class="row w-100 section-subtitle text-muted"> {{ $subtitle }} </h6>
+ {{end}}
+ </div>
+ </div>
+ {{end}}
+
+ {{- partial (printf "%s/%s.html" $content_type $content_type) . -}}
+ </div>
+</div>
+
+{{end}}
+
+<!-- this is for range -->
+{{end}}
+
+<!-- this is for block -->
+{{end}} \ No newline at end of file
diff --git a/layouts/partials/about/about.html b/layouts/partials/about/about.html
new file mode 100644
index 0000000..561e9c0
--- /dev/null
+++ b/layouts/partials/about/about.html
@@ -0,0 +1,11 @@
+<!-- <div class='about col h-100 '> -->
+
+<div class="about row w-100">
+ {{ partial "about/introduction.html" . }}
+</div>
+
+<div class="about row w-100">
+ {{ partial "about/interests_academia.html" . }}
+</div>
+
+<!-- </div> --> \ No newline at end of file
diff --git a/layouts/partials/about/interests_academia.html b/layouts/partials/about/interests_academia.html
new file mode 100644
index 0000000..87c2781
--- /dev/null
+++ b/layouts/partials/about/interests_academia.html
@@ -0,0 +1,60 @@
+{{ $content_type := .Params.content_type }}
+
+{{ $aboutPage := .Site.GetPage $content_type }}
+
+{{ if or $aboutPage.Params.academia $aboutPage.Params.interests}}
+{{ if $aboutPage.Params.interests }}
+<div class="interests col ">
+ <h4 class="main_color">Interests</h4>
+ <ul>
+ {{range $aboutPage.Params.interests }}
+ <li>
+ {{.}}
+ </li>
+ {{end}}
+ </ul>
+</div>
+{{end}}
+
+{{if $aboutPage.Params.academia}}
+<div class="academia col">
+ <h4 class="main_color">Academia</h4>
+ {{range $academia := $aboutPage.Params.academia}}
+ <div class="row">
+ <div class="course col">
+ <div class="institution_dates row">
+ <div class="institution col" id="institution_title">
+ {{$academia.course.institution}}
+ </div>
+ <div class="main_color dates col-md-auto justify-content-end">
+ {{$academia.course.start_date}}
+ {{ if $academia.course.end_date }}
+ - {{$academia.course.end_date}}
+ {{else}}
+ - present
+ {{end}}
+ </div>
+ </div>
+ <div class="degree_major row">
+ <div class="text-muted col">
+ {{$academia.course.degree}} {{$academia.course.major}}
+
+ {{if $academia.course.minor }}
+ , Minor: {{$academia.course.minor}}
+ {{end}}
+ </div>
+ </div>
+
+ {{if $academia.course.other_info}}
+ <div class="other_info row text-muted">
+ <div class="col">
+ {{$academia.course.other_info}}
+ </div>
+ </div>
+ {{end}}
+ </div>
+ </div>
+ {{end}}
+</div>
+{{end}}
+{{end}} \ No newline at end of file
diff --git a/layouts/partials/about/introduction.html b/layouts/partials/about/introduction.html
new file mode 100644
index 0000000..5eaab79
--- /dev/null
+++ b/layouts/partials/about/introduction.html
@@ -0,0 +1,96 @@
+{{ $content_type := .Params.content_type }}
+
+{{ $aboutPage := .Site.GetPage $content_type }}
+
+<div class="row w-100 justify-content-center">
+ <img class="rounded-circle " src="images/profile.png" alt="profile_picture" id="profile_picture" />
+</div>
+
+
+{{ if $aboutPage.Params.full_name }}
+<div class=" row w-100 justify-content-center main_color" id="full_name">
+ {{ $aboutPage.Params.full_name }}
+</div>
+{{end}}
+
+{{ if $aboutPage.Params.affiliations }}
+<div class="affiliations row w-100 justify-content-center">
+ <div class="row w-100 justify-content-center">
+ {{ range $key, $value := $aboutPage.Params.affiliations }}
+ <div class="row w-100 justify-content-center" id="title-name">
+ <span class="main_color" id="title">
+ {{$value.affiliation.title}},
+ </span>
+ <span id="name" class="text-muted">
+ {{$value.affiliation.name}}
+ </span>
+ </div>
+ <div class="row w-100 justify-content-center text-muted" id="email">
+ {{$value.affiliation.email}}
+ </div>
+
+
+ {{ end }}
+ </div>
+</div>
+{{end}}
+
+{{ if $aboutPage.Params.socials }}
+<div class="socials row w-100 justify-content-center">
+ <div class="row w-100 justify-content-center">
+ {{ $google_scholar := index $aboutPage.Params.socials "google_scholar"}}
+ {{ $facebook := index $aboutPage.Params.socials "facebook"}}
+ {{ $twitter := index $aboutPage.Params.socials "twitter"}}
+ {{ $twitch := index $aboutPage.Params.socials "twitch"}}
+ {{ $github := index $aboutPage.Params.socials "github"}}
+ {{ $cv := $aboutPage.Params.cv }}
+
+
+ {{if $google_scholar}}
+ <a class="main_color" href='https://scholar.google.com/{{$google_scholar}}' target="_blank">
+ <i class="ai ai-2x ai-google-scholar academic_icons_customize"></i>
+ </a>
+ {{end}}
+
+ {{ if $github }}
+ <a class="main_color" href='https://github.com/{{$github}}' target="_blank">
+ <i data-feather="github"></i>
+ </a>
+ {{end}}
+
+ {{ if $twitter }}
+ <a class="main_color" href='https://twitter.com/{{$twitter}}' target="_blank">
+ <i data-feather="twitter"></i>
+ </a>
+ {{end}}
+
+ {{ if $facebook }}
+ <a class="main_color" href='https://facebook.com/{{$facebook}}' target="_blank">
+ <i data-feather="facebook"></i>
+ </a>
+ {{end}}
+
+
+ {{ if $twitch }}
+ <a class="main_color" href='https://twitch.com/{{$twitch}}' target="_blank">
+ <i data-feather="twitch"></i>
+ </a>
+ {{end}}
+
+ {{if $cv}}
+ <a class="main_color" href='{{$cv}}' target="_blank">
+ <i class="ai ai-2x ai-cv academic_icons_customize"></i>
+ </a>
+ {{end}}
+
+ </div>
+</div>
+{{end}}
+
+{{if $aboutPage.Content }}
+<div class="introduction row w-100 text-justify">
+ <div class="col w-100">
+ {{$aboutPage.Content}}
+ </div>
+</div>
+{{end}} \ No newline at end of file
diff --git a/layouts/partials/core/footer.html b/layouts/partials/core/footer.html
new file mode 100644
index 0000000..1de71e3
--- /dev/null
+++ b/layouts/partials/core/footer.html
@@ -0,0 +1,6 @@
+<footer class="mt-auto d-flex justify-content-center text-muted small secondary_font">
+ <span class="text-muted">Copyright (c) {{ now.Format "2006"}}, {{ .Site.Params.name }},
+ <a class="text-muted" href="https://github.com/hadisinaee/avicenna" target="_blank"> created by Avicenna
+ (MIT)</a>
+ </span>
+</footer> \ No newline at end of file
diff --git a/layouts/partials/core/head.html b/layouts/partials/core/head.html
new file mode 100644
index 0000000..6084457
--- /dev/null
+++ b/layouts/partials/core/head.html
@@ -0,0 +1,23 @@
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
+ integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
+ integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
+
+ <link rel="stylesheet"
+ href="https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&family=Noto+Serif+JP&family=Cormorant+Garamond&family=Libre+Baskerville&family=Source+Serif+Pro&family=Crimson+Text&family=Inter&family=Crimson+Pro&family=Literata&family=Ubuntu+Mono&family=Inter&family=Roboto">
+ <link rel="stylesheet" type="text/css" href="/css/style.css">
+
+ {{ $title := print .Site.Title " | " .Title }}
+ {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
+
+ <title>{{ $title }}</title>
+
+
+ {{ template "_internal/google_analytics.html" . }}
+
+</head> \ No newline at end of file
diff --git a/layouts/partials/core/script.html b/layouts/partials/core/script.html
new file mode 100644
index 0000000..cef5d32
--- /dev/null
+++ b/layouts/partials/core/script.html
@@ -0,0 +1,8 @@
+<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"
+ integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
+ crossorigin="anonymous"></script>
+
+<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.28.0/feather.min.js"></script>
+<script>
+ feather.replace()
+</script> \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
deleted file mode 100644
index ed14950..0000000
--- a/layouts/partials/footer.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="footer wrapper">
- <nav class="nav">
- <div><a href="https://github.com/hadisinaee/avicenna">Avicenna Theme</a> | Built with <a href="https://gohugo.io">Hugo</a></div>
- </nav>
-</div>
-
-{{ template "_internal/google_analytics_async.html" . }}
-{{- with .Site.Params.Social -}}
-<script>
- feather.replace()
-
-</script>
-{{- end -}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
deleted file mode 100644
index 9e8ade9..0000000
--- a/layouts/partials/head.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="header">
- <img src={{ "profile.jpg" | absURL }} class="profile_image">
- <h1 class="site-title">{{ .Site.Title }}</h1>
- <div class="site-affilation">
- <span class="affilation">
- {{- range $index, $key := .Site.Params.affilation -}}
- <ul class="flat">
- <li class="position">{{$key.position}}, {{$key.name}}</li>
- <li class="email">{{ $key.contact}}</li>
- </ul>
- {{- end -}}
- </span>
- <!--
- {{- if isset .Site.Params "subtitle" -}}
- <h2>{{ .Site.Params.Subtitle | markdownify }}</h2>
- {{- end -}}
- -->
-
- <nav class="nav social">
- <ul class="flat">
- {{- range $index, $key := .Site.Params.Social -}}
- <a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
- {{- end -}}
- {{ if or (.Site.Params.blog) (.Site.Params.cv_name) }}
- |
- {{- with .Site.Params.blog -}}
- <a href="{{ . }}" class="blog_cv">[blog]</a>
- {{- end -}}
-
- {{ with .Site.Params.cv_name }}
- <a href="{{ . }}" class="blog_cv">[cv]</a>
- {{ end }}
- {{ end }}
- </ul>
- </nav>
- </div>
-
- <nav class="nav">
- <ul class="flat">
- {{ range .Site.Menus.main }}
- <li><a href="{{ .URL }}">{{ .Name }}</a></li>
- {{ end }}
- </ul>
- </nav>
-</div>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
deleted file mode 100644
index 2268481..0000000
--- a/layouts/partials/header.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- {{- $title := ( .Title ) -}}
- {{- $siteTitle := ( .Site.Title ) -}}
- {{- if .IsHome -}}
- <title>{{ $siteTitle }} {{- if isset .Site.Params "subtitle" -}} - {{ .Site.Params.Subtitle }}{{- end -}} </title>
- {{- else -}}
- <title>{{ $title }} - {{ $siteTitle }}</title>
- {{- end -}}
-
- <link rel="apple-touch-icon" sizes="180x180" href={{ "apple-touch-icon.png" | absURL }}>
- <link rel="icon" type="image/png" sizes="32x32" href={{ "favicon-32x32.png" | absURL }}>
- <link rel="icon" type="image/png" sizes="16x16" href={{ "favicon-16x16.png" | absURL }}>
- <link rel="manifest" href={{ "site.webmanifest" | absURL }}>
- <link rel="mask-icon" href={{ "safari-pinned-tab.svg" | absURL }} color="#5bbad5">
- <meta name="msapplication-TileColor" content="#da532c">
- <meta name="theme-color" content="#ffffff">
-
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {{ with .OutputFormats.Get "rss" -}}
- {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
- {{ end -}}
-
- {{- template "_internal/opengraph.html" . -}}
- {{- template "_internal/twitter_cards.html" . -}}
- <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,300italic,400italic|Raleway:500,100,300" rel="stylesheet">
-
- <link rel="stylesheet" type="text/css" media="screen" href={{ "css/normalize.css" | absURL }} />
- <link rel="stylesheet" type="text/css" media="screen" href={{ "css/main.css" | absURL }}/>
-
- {{ range .Site.Params.custom_css -}}
- <link rel="stylesheet" href="{{ . | absURL }}">
- {{- end }}
-
- {{- if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}
- <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
- {{- else if (isset .Site.Params "social") -}}
- <script src={{ "js/feather.min.js" | absURL }}></script>
- {{- end -}}
- <script src={{ "js/main.js" | absURL }}></script>
-</head>
diff --git a/layouts/partials/introduction.html b/layouts/partials/introduction.html
deleted file mode 100644
index ac7c5fa..0000000
--- a/layouts/partials/introduction.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="introduction">
- {{- range $index, $key := .Site.Params.Introduction.paragraph -}}
- <span>
- {{ $key.text | markdownify }}
- </span>
- <br>
- {{- end -}}
- <span>
- <b>Interests.</b> {{ $.Site.Params.interests | markdownify }}
- </span>
-</div>
diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html
deleted file mode 100644
index 227d987..0000000
--- a/layouts/partials/projects.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="introduction">
- {{ with .Site.Params.projects }}
- <h4>Projects</h4>
- <ul>
- {{- range $index, $projects_map := $.Site.Params.projects -}}
-
- {{ range $elem_index, $project := $projects_map.project }}
- <li>
- <a href="{{ $project.project_page }}" class="project"> {{ $project.name }}</a>
-
- {{ if or ($project.code_link) ($project.blog_link) }}
- <span class="code_blog">
- {{ with $project.code_link }}
- [<a href="{{ . }}">code</a>]
- {{ end }}
-
- {{ with $project.blog_link }}
- [<a href="{{ . }}">blog</a>]
- {{ end }}
- </span>
- {{ end }}
-
- {{ with $project.description }}
- <span class="project_description">
- {{ . | markdownify}}
- </span>
- {{ end }}
-
- </li>
- {{ end }}
-
- {{- end -}}
- </ul>
- {{ end }}
-</div>
diff --git a/layouts/partials/projects/projects.html b/layouts/partials/projects/projects.html
new file mode 100644
index 0000000..7cc04a5
--- /dev/null
+++ b/layouts/partials/projects/projects.html
@@ -0,0 +1,34 @@
+{{ $content_type := .Params.content_type }}
+{{if $content_type}}
+{{ $t := .Site.GetPage $content_type }}
+{{ $rscPages := $t.Resources.ByType "page"}}
+
+{{if gt (len $rscPages) 0}}
+<div class="projects row w-100">
+ <div class="col w-100">
+ {{range $page := sort $rscPages "Params.date" "desc"}}
+ <div class="project row w-100">
+ <div class="section-1 w-100">
+ <span class="project-title">
+ {{$page.Params.title}}
+ </span>
+ </div>
+
+ {{ $links := $page.Params.links }}
+ {{ if $links }}
+ <div class="section-2 w-100">
+ {{ if $links.website }}
+ <a class="main_color text-decoration-none rounded " href="{{$links.git}}" target="_blank">website</a>
+ {{end}}
+ </div>
+ {{end}}
+
+
+ </div>
+ {{end}}
+
+
+ </div>
+ {{end}}
+</div>
+{{end}} \ No newline at end of file
diff --git a/layouts/partials/publications.html b/layouts/partials/publications.html
deleted file mode 100644
index 01277da..0000000
--- a/layouts/partials/publications.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="introduction">
- {{ with .Site.Params.publications }}
- <h4>Publications</h4>
-
- {{- range $index, $publications := $.Site.Params.publications -}}
- <div class="year">{{ $publications.year }}</div>
-
- <ul>
- {{ range $elem_index, $publication := $publications.paper }}
- <li>
- {{ if $publication.link }}
- <a href="{{ $publication.link }}" class="publications"> {{ $publication.name }}, </a>
- {{ else }}
- <p class="publications"> {{ $publication.name }}, </p>
- {{ end }}
- {{ $publication.dest | markdownify }}.
-
- {{ if or ($publication.code_link) $publication.blog_link }}
- <span class="code_blog">
- {{ with $publication.code_link }}
- [<a href="{{ $publication.code_link }}">code</a>]
- {{ end }}
-
- {{ with $publication.blog_link }}
- [<a href="{{ $publication.blog_link }}">blog</a>]
- {{ end }}
- </span>
- {{ end }}
-
- <span class="collaborators">
- {{ $publication.authors | markdownify }}
- </span>
- </li>
- {{ end }}
- </ul>
- {{- end -}}
- {{- end -}}
-</div>
diff --git a/layouts/partials/publications/publications.html b/layouts/partials/publications/publications.html
new file mode 100644
index 0000000..4845cd1
--- /dev/null
+++ b/layouts/partials/publications/publications.html
@@ -0,0 +1,79 @@
+{{ $content_type := .Params.content_type }}
+{{if $content_type}}
+{{ $t := .Site.GetPage $content_type }}
+{{ $rscPages := $t.Resources.ByType "page"}}
+
+{{if gt (len $rscPages) 0}}
+<div class="publications row w-100">
+ <div class="col w-100">
+ {{ range $page := $rscPages}}
+ <div class="publication row w-100">
+
+ <div class="section-1 w-100">
+ <span>
+ {{$page.Params.title}},
+ </span>
+
+ <span class="text-muted publication-date">
+ {{substr ($page.Params.date.Format "2006-01-02") 0 4}},
+ </span>
+
+ <span class="text-muted publication-name">
+ {{$page.Params.publication}}
+ </span>
+
+ </div>
+
+ <div class="section-2 text-muted w-100">
+
+ {{ $authors := $page.Params.authors }}
+
+ {{ if $authors }}
+ {{range $i, $author := $authors}}
+ <span>
+ {{$author}}
+ </span>
+ {{ if lt $i (sub (len $authors) 1)}}
+ <span class="separator">
+ ,
+ </span>
+ {{end}}
+ {{end}}
+ {{end}}
+
+ </div>
+
+ {{ $links := $page.Params.links }}
+ {{ if $links }}
+ <div class="section-3 w-100">
+ {{ if $links.url_pdf }}
+ <a class="main_color text-decoration-none rounded" href="{{$links.url_pdf}}" target="_blank">pdf</a>
+ {{end}}
+
+ {{ if $links.url_code }}
+ <a class="main_color text-decoration-none rounded " href="{{$links.url_code}}" target="_blank">code</a>
+ {{end}}
+
+
+ {{ if $links.url_slides }}
+ <a class="main_color text-decoration-none rounded" href="{{$links.url_slides}}"
+ target="_blank">slides</a>
+ {{end}}
+
+ {{ if $links.url_video }}
+ <a class="main_color text-decoration-none rounded" href="{{$links.url_video}}" target="_blank">video</a>
+ {{end}}
+
+ </div>
+ {{end}}
+
+
+
+ </div>
+
+ {{end}}
+
+ </div>
+ {{end}}
+</div>
+{{end}} \ No newline at end of file
diff --git a/setup_avicenna.sh b/setup_avicenna.sh
new file mode 100644
index 0000000..70c22ba
--- /dev/null
+++ b/setup_avicenna.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+SITE_FOLDER=$1
+# creates the site folder
+hugo new site $SITE_FOLDER
+
+# install the latest avicenna theme
+cd $SITE_FOLDER
+git clone -b master git@github.com:hadisinaee/avicenna.git ./themes/avicenna
+
+# copy the template site
+cp -R themes/avicenna/exampleSite/* ./ \ No newline at end of file
diff --git a/static/css/main.css b/static/css/main.css
deleted file mode 100644
index 15f2192..0000000
--- a/static/css/main.css
+++ /dev/null
@@ -1,439 +0,0 @@
-/* Ubuntu, Ubuntu */
-@import url(https://fonts.googleapis.com/css?family=Ubuntu);
-@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
-
-body {
- font-family: "Ubuntu", sans-serif;
- font-weight: 300;
- color: #333;
- line-height: 1.5;
- font-size: 16px;
-}
-
-a,
-a:hover {
- color: #a00;
- text-decoration: none;
-}
-
-html,
-button,
-input,
-select,
-textarea {
- color: #222;
-}
-
-::-moz-selection {
- background: #b3d4fc;
- text-shadow: none;
-}
-
-::selection {
- background: #b3d4fc;
- text-shadow: none;
-}
-
-hr {
- display: none;
- height: 1px;
- border: 0;
- /* border-top: 1px solid #ccc; */
- margin: 1rem 0;
- padding: 0;
-}
-
-audio,
-canvas,
-img,
-video {
- width: 100%;
- vertical-align: middle;
-}
-
-fieldset {
- border: 0;
- margin: 0;
- padding: 0;
-}
-
-textarea {
- resize: vertical;
-}
-
-blockquote {
- margin-left: 1rem;
- font-style: italic;
- font-size: 1.4rem;
- font-family: Georgia, bitstream charter, serif;
- border-left: 3px solid;
- border-color: #a00;
- padding-left: 20px;
-}
-
-blockquote cite {
- font-size: 70%;
- opacity: 0.8;
-}
-span {
- display: block;
-}
-
-a,
-a:hover {
- color: #a00;
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: Ubuntu, raleway, sans-serif;
- line-height: 1.2;
- color: #330;
- font-weight: 100;
- margin-bottom: 15px;
- margin-top: 20px;
-}
-
-h1 {
- font-size: 2.75rem;
-}
-
-h2 {
- font-size: 2rem;
-}
-
-h3 {
- font-size: 1.6rem;
-}
-
-h4 {
- font-size: 1.2rem;
-}
-
-h5 {
- font-weight: 300;
- font-size: 1rem;
-}
-
-h6 {
- font-weight: 300;
- font-size: 0.9rem;
-}
-
-.container {
- max-width: 800px;
-}
-
-ul {
- padding-left: 15px;
-}
-
-ul.flat {
- margin: 0;
- padding: 0;
-}
-
-ul.flat li {
- display: inline-block;
- list-style: none;
- margin-left: 0;
-}
-
-.prevent-collapse {
- min-height: 0.1rem;
-}
-
-.page-title {
- margin: 0;
-}
-
-.smaller {
- font-size: 70%;
-}
-
-ul {
- list-style: disc inside;
-}
-
-.introduction ul li {
- margin-bottom: 10px;
-}
-
-.introduction ul li p {
- display: inline;
-}
-
-.highlight pre {
- margin-bottom: 0;
- margin-top: 0;
- padding: 20px;
- background-color: #fafafa !important;
-}
-
-.highlight {
- background: 0 0;
-}
-
-.wrapper {
- max-width: 760px;
- margin: 0 auto;
-}
-
-.container {
- margin-top: 50px;
-}
-
-.header {
- margin-bottom: 20px;
- /* padding-bottom: 20px; */
-}
-
-.header .profile_image {
- display: block;
- margin-left: auto;
- margin-right: auto;
- max-width: 30%;
- height: auto;
- border-radius: 50%;
- /* float: left; */
-}
-
-.header h1,
-.header h2 {
- margin: 0;
- padding: 0;
- font-size: 2rem;
- line-height: 1.3em;
-}
-
-.header h2 {
- font-size: 1.125rem;
-}
-
-.header nav {
- margin-top: 20px;
- /* border-top: 1px solid #f4f4f4; */
-}
-
-.header nav ul,
-.header nav li {
- margin: 0;
-}
-
-.header nav ul.flat {
- padding: 0;
-}
-
-.header nav ul.flat li {
- display: inline-block;
- list-style: none;
- margin-left: 0;
- margin-right: 10px;
- margin-top: 10px;
- text-transform: capitalize;
-}
-
-.header .site-affilation {
- display: flex;
- justify-content: space-between;
-}
-
-.header .site-affilation .email {
- /* color: #a00; */
- font-size: 14px;
- display: block;
- font-family: "Ubuntu Mono";
- font-weight: bolder;
-}
-
-.header .site-affilation .position {
- /* color: #a00; */
- /* font-size: 14px; */
- /* display: block; */
- font-family: Ubuntu;
- /* font-weight: bolder; */
-}
-
-.header .site-affilation nav {
- margin: 0;
- padding: 0;
- border: none;
-}
-
-.header .site-affilation nav ul svg {
- max-height: 15px;
-}
-
-/* header for projects */
-.header .logo {
- display: block;
- margin-top: 2%;
- margin-bottom: -2%;
- margin-left: auto;
- margin-right: auto;
- max-width: 10%;
- height: auto;
-}
-
-.page_title {
- font-family: Ubuntu;
- font-weight: bolder;
- font-size: 1.5em;
- margin-top: 10%;
- display: block;
-}
-
-.page_meta {
- display: block;
- font-family: "Ubuntu Mono";
- font-size: 14px;
-}
-
-.page_meta_icon {
- font-weight: .5em;
-}
-
-.email {
- /* color: #a00; */
- font-size: 16px;
- font-family: "Ubuntu Mono";
- font-weight: bolder;
-}
-
-.collaborators {
- font-size: 15px;
- margin-left: .9em;
- margin-top: .1em;
-}
-
-.year {
- font-size: 20px;
- margin-bottom: -.6em;
-}
-
-.project {
- margin: .5em -.5em 0em;
-}
-
-.publications {
- margin-left: -.5em;
-}
-
-.code_blog {
- font-family: "Ubuntu Mono";
- font-size: 14px;
- margin: 0em .9em 0em;
-}
-
-.blog_cv {
- font-family: "Ubuntu Mono";
- font-size: 17px;
- /* margin: 0em .9em 0em; */
-}
-
-.project_description {
- margin: .5em .9em 0em;
-}
-
-.section .section-header {
- font-size: 0.75rem;
- font-weight: 600;
- text-transform: uppercase;
- color: #999;
- margin-bottom: 20px;
- letter-spacing: 1px;
-}
-
-.recent-posts .posts .introduction {
- margin-bottom: 30px;
-}
-
-.recent-posts .posts .introduction .meta,
-.introduction .introduction-header .meta,
-.list .posts .introduction .meta {
- font-size: 0.725rem;
- color: #999;
- margin-bottom: 4px;
-}
-
-.introduction .introduction-header {
- margin-bottom: 30px;
-}
-
-.introduction .introduction-header .title {
- margin: 0;
-}
-
-.introduction .introduction-header .meta {
- padding-left: 5px;
- margin-top: 10px;
-}
-
-.list .posts .introduction .meta {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.footer {
- text-align: right;
- font-size: 0.75em;
- color: #999;
- border-top: 1px solid #f4f4f4;
- padding: 20px 0;
- margin-top: 40px;
-}
-
-.page-title {
- margin-bottom: 0;
-}
-
-.tag-cloud {
- margin-top: 20px;
-}
-
-.tag-cloud a {
- margin-right: 15px;
-}
-
-
-
-@media (max-width: 767px) {
- body {
- padding: 20px;
- }
-
- h1 {
- font-size: 2rem;
- }
-
- h2 {
- font-size: 1.6rem;
- }
-
- h3 {
- font-size: 1.2rem;
- }
-
- h4 {
- font-size: 1rem;
- }
-
- .container {
- margin-top: 10px;
- }
-}
-
-@media (max-width: 480px) {
- body {
- font-size: 14px;
- }
-}
diff --git a/static/css/normalize.css b/static/css/normalize.css
deleted file mode 100644
index 08ac354..0000000
--- a/static/css/normalize.css
+++ /dev/null
@@ -1 +0,0 @@
-/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */img,legend{border:0}legend,td,th{padding:0}html{font-family:serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0} \ No newline at end of file
diff --git a/static/css/style.css b/static/css/style.css
new file mode 100644
index 0000000..460197b
--- /dev/null
+++ b/static/css/style.css
@@ -0,0 +1,163 @@
+
+body {
+ font-family: 'Inter', sans-serif;
+ color: #071013;
+}
+
+a {
+ color: #8C1515;
+}
+
+.body {
+ margin: auto;
+}
+
+.h-100 {
+ margin: auto;
+}
+
+.w-100 {
+ margin: auto;
+}
+
+.main_color {
+ color: #8C1515;
+}
+
+.secondary_color {
+ color: #071013;
+}
+
+.email_color {
+ color: #071013;
+}
+
+.secondary_font {
+ font-family: 'Ubuntu Mono', serif;
+}
+
+.section-subtitle {
+ font-family: 'Ubuntu Mono', serif;
+}
+
+#profile_picture {
+ width: 20%;
+ height: auto;
+ margin-top: 1%;
+}
+
+.about #full_name {
+ font-size: x-large;
+}
+
+.about .affiliations #title {
+ padding-right: .5%;
+}
+
+.about .affiliations #name {
+ padding-right: .5%;
+}
+
+.about #email {
+ font-family: 'Ubuntu Mono', serif;
+ margin: auto;
+}
+
+.about .socials {
+ font-size: small;
+ margin-bottom: 1%;
+ margin-top: 1%;
+}
+
+.about .socials a {
+ margin-left: .5%;
+}
+
+.about .academia .degree_major {
+ font-size: small;
+}
+
+.about .academia .other_info {
+ font-size: small;
+}
+
+.course {
+ margin-top: 1%;
+}
+
+
+.publications .publication {
+ margin-top: 1.5%;
+}
+
+.publication .section-1 .publication-date {
+ font-family: 'Ubuntu Mono', serif;
+}
+
+.publication .section-1 .publication-name {
+ font-family: 'Ubuntu Mono', serif;
+}
+
+
+.publication .section-2 {
+ font-family: 'Ubuntu Mono', serif;
+ margin-top: -.1%;
+ margin-bottom: .5%;
+}
+
+
+.publication .section-3 {
+ margin-top: -.5%;
+ font-family: 'Ubuntu Mono', serif;
+ text-decoration: none;
+}
+
+.publication .section-3 a{
+ padding: .15%;
+}
+
+.publication .section-3 a:hover {
+ transition-property: background-color;
+ transition-duration: .2s;
+ transition-timing-function: ease-in-out;
+
+ border-radius: 50%;
+ background-color: #d64933;
+ color: white;
+}
+
+.publication .separator {
+ margin-left: -1%;
+}
+
+.projects .project {
+ margin-top: 1.5%;
+}
+
+.project .section-2 a {
+ padding: .8%;
+ margin-left: -.1%;
+}
+
+.projects .project a{
+ font-family: 'Ubuntu Mono', serif;
+ padding: .15%;
+}
+.projects .project .section-2 a:hover {
+ transition-property: background-color;
+ transition-duration: .2s;
+ transition-timing-function: ease-in-out;
+
+ border-radius: 50%;
+ background-color: #d64933;
+ color: white;
+}
+
+
+.section-title {
+ margin-top: 2.5%;
+}
+
+.copy_right {
+ font-size: small;
+} \ No newline at end of file
diff --git a/static_folder.png b/static_folder.png
new file mode 100644
index 0000000..3d49d7a
--- /dev/null
+++ b/static_folder.png
Binary files differ
diff --git a/theme.toml b/theme.toml
index ec70816..5f650eb 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,21 +1,15 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
-name = "Avicenna"
-license = "MIT"
-licenselink = "https://github.com/hadisinaee/avicenna/blob/master/LICENSE"
description = "A minimal, simple, and responsive academic page."
-homepage = "https://github.com/hadisinaee/avicenna"
-tags = ["academic", "personal", "minimal", "minimalist", "clean", "responsive", "simple", "university"]
features = ["Academic", "Responsive", "Clean And Minimal", "Social Media Links"]
+homepage = "https://github.com/hadisinaee/avicenna"
+license = "MIT"
+licenselink = "https://github.com/hadisinaee/avicenna/blob/master/LICENSE"
min_version = "0.41"
+name = "Avicenna"
+tags = ["academic", "personal", "minimal", "minimalist", "clean", "responsive", "simple", "university"]
[author]
- name = "Hadi Sinaee"
- homepage = "http://ce.sharif.edu/~sinaee/"
-
-# If porting an existing theme
-[original]
- name = "ezhil"
- homepage = "https://github.com/vividvilla/ezhil"
- repo = "https://github.com/vividvilla/ezhil"
+homepage = "https://hadisinaee.github.io/"
+name = "Hadi Sinaee"