Skip to content

Commit e452262

Browse files
committed
Initial commit: MuscleMimic blog with Jekyll Distill template
0 parents  commit e452262

File tree

110 files changed

+31060
-0
lines changed

Some content is hidden

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

110 files changed

+31060
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: '3.2'
26+
bundler-cache: true
27+
28+
- name: Build site
29+
run: bundle exec jekyll build --future
30+
env:
31+
JEKYLL_ENV: production
32+
33+
- uses: actions/upload-pages-artifact@v3
34+
35+
deploy:
36+
needs: build
37+
runs-on: ubuntu-latest
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
steps:
42+
- uses: actions/deploy-pages@v4
43+
id: deployment

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Jekyll build output
2+
_site/
3+
.sass-cache/
4+
.jekyll-cache/
5+
.jekyll-metadata
6+
7+
# Dependencies
8+
vendor/
9+
Gemfile.lock
10+
node_modules/
11+
12+
# OS files
13+
.DS_Store
14+
Thumbs.db
15+
16+
17+
references/
18+
19+
# Source archives
20+
*.zip

Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.3"
4+
gem "webrick", "~> 1.8"
5+
6+
group :jekyll_plugins do
7+
gem "jekyll-feed", "~> 0.12"
8+
gem "jekyll-scholar", "~> 7.0"
9+
gem "jekyll-sitemap", "~> 1.4"
10+
gem "jekyll-paginate-v2", "~> 3.0"
11+
end

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Charlie Li
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# MuscleMimic Blog
2+
3+
## Build
4+
5+
```bash
6+
bundle install
7+
bundle exec jekyll serve --future
8+
```
9+
10+
Visit `http://localhost:4000`.

_bibliography/references.bib

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
@article{gregor2015draw,
2+
title={DRAW: A Recurrent Neural Network For Image Generation},
3+
author={Gregor, Karol and Danihelka, Ivo and Graves, Alex and Rezende, Danilo Jimenez and Wierstra, Daan},
4+
journal={arXiv preprint arXiv:1502.04623},
5+
year={2015},
6+
url={https://arxiv.org/abs/1502.04623}
7+
}
8+
9+
@article{olah2017feature,
10+
title={Feature Visualization},
11+
author={Olah, Chris and Mordvintsev, Alexander and Schubert, Ludwig},
12+
journal={Distill},
13+
year={2017},
14+
url={https://distill.pub/2017/feature-visualization/}
15+
}
16+
17+
@article{vaswani2017attention,
18+
title={Attention is All You Need},
19+
author={Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N and Kaiser, {\L}ukasz and Polosukhin, Illia},
20+
journal={Advances in Neural Information Processing Systems},
21+
volume={30},
22+
year={2017}
23+
}

_config.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Site settings
2+
title: MuscleMimic
3+
description: Full-body musculoskeletal model for neuromuscular motor control research
4+
url: ""
5+
baseurl: ""
6+
lang: en
7+
8+
# Build
9+
markdown: kramdown
10+
highlighter: rouge
11+
kramdown:
12+
input: GFM
13+
math_engine: null # MathJax handles math rendering
14+
15+
# Plugins
16+
plugins:
17+
- jekyll-feed
18+
- jekyll-scholar
19+
- jekyll-sitemap
20+
- jekyll-paginate-v2
21+
22+
# Scholar (BibTeX citation support)
23+
scholar:
24+
style: apa
25+
locale: en
26+
source: ./_bibliography
27+
bibliography: "*.bib"
28+
bibliography_template: ""
29+
sort_by: none
30+
31+
# Feature toggles
32+
enable_math: true
33+
enable_dark_mode: true
34+
35+
# Third-party CDN libraries
36+
third_party_libraries:
37+
mathjax:
38+
url: "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
39+
jquery:
40+
url: "https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"
41+
bootstrap:
42+
css: "https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
43+
js: "https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"
44+
45+
# Include _pages directory
46+
include:
47+
- _pages
48+
49+
# Collections
50+
collections:
51+
posts:
52+
output: true
53+
permalink: /blog/:title/
54+
55+
# Pagination
56+
pagination:
57+
enabled: true
58+
per_page: 10
59+
permalink: "/page/:num/"
60+
61+
# Defaults
62+
defaults:
63+
- scope:
64+
path: ""
65+
type: "posts"
66+
values:
67+
layout: "distill"
68+
69+
# Exclude from build
70+
exclude:
71+
- references/
72+
- Gemfile
73+
- Gemfile.lock
74+
- README.md
75+
- node_modules/
76+
- vendor/

_includes/figure.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<figure {% if include.class %}class="{{ include.class }}"{% endif %}>
2+
<img
3+
src="{% if include.url %}{{ include.url }}{% else %}{{ include.path | relative_url }}{% endif %}"
4+
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
5+
{% if include.width %}style="width: {{ include.width }}"{% endif %}
6+
loading="lazy"
7+
>
8+
{% if include.caption %}
9+
<figcaption>{{ include.caption | markdownify | remove: '<p>' | remove: '</p>' }}</figcaption>
10+
{% endif %}
11+
</figure>

_includes/footer.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<footer class="sticky-bottom mt-5" role="contentinfo">
2+
<div class="container">
3+
&copy; {{ site.time | date: '%Y' }} {{ site.title }}.
4+
Powered by <a href="https://jekyllrb.com/" target="_blank" rel="noopener">Jekyll</a> &amp;
5+
<a href="https://github.com/distillpub/template" target="_blank" rel="noopener">Distill</a>.
6+
</div>
7+
</footer>

_includes/head.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% include metadata.html %}
2+
3+
<!-- Bootstrap CSS -->
4+
<link rel="stylesheet" href="{{ site.third_party_libraries.bootstrap.css }}">
5+
6+
<!-- Google Fonts -->
7+
<link rel="preconnect" href="https://fonts.googleapis.com">
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap">
10+
11+
<!-- Site CSS -->
12+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
13+
14+
{% if site.enable_dark_mode %}
15+
<!-- Dark mode (in head to prevent flash) -->
16+
<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>
17+
<script>initTheme();</script>
18+
{% endif %}

0 commit comments

Comments
 (0)