Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main #121

Open
wants to merge 16 commits into
base: gh-pages
Choose a base branch
from
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ permalink: /:title
plugins: [jekyll-paginate, jekyll-sitemap, jekyll-feed, jekyll-seo-tag]

# Customise atom feed settings (this is where Jekyll-Feed gets configuration information)
title: 'Lagrange'
description: 'a minimalist Jekyll theme'
author: 'Paul Le'
title: '西门美月匈XD'
description: ''
author: ''

# RSS 2.0 can be used instead of Atom by uncommenting following two lines
#feed:
Expand Down
21 changes: 11 additions & 10 deletions _data/settings.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Change 'comments' to true for Disqus comments
disqus:
comments: false
disqus_shortname: 'https-lenpaul-github-io-lagrange'
disqus_shortname: 'https-xmmxOvO-github-io'

# If you are not using Google Analytics, please change 'google-ID' to an empty string
google-ID: 'UA-112060364-1'
google-ID: ' '

menu:
- {name: 'About', url: 'about.html'}
- {name: 'Writing', url: 'writing.html'}
- {name: 'Contact', url: 'contact.html'}
- {name: '关于我', url: 'about.html'}
- {name: '日记本', url: 'diary.html'}
- {name: '录像机', url: 'recorder.html'}

# Available social icons are powered by Font Awesome, so you can use any icon that they offer
social:
- {icon: 'github', link: 'https://www.github.com/lenpaul'}
- {icon: 'twitter', link: 'https://twitter.com/paululele'}
- {icon: 'linkedin', link: 'http://www.linkedin.com/in/lenpaul/'}
- {icon: 'envelope', link: 'mailto:[email protected]'}
- {icon: 'rss-square', link: '/feed.xml'}
- {icon: 'github', link: 'https://www.github.com/xmmxOvO'}
- {icon: 'twitter', link: 'https://twitter.com'}
- {icon: 'bilibili', link: 'https://space.bilibili.com/3546655198546687'}
# - {icon: 'linkedin', link: 'http://www.linkedin.com/in/lenpaul/'}
# - {icon: 'envelope', link: 'mailto:[email protected]'}
# - {icon: 'rss-square', link: '/feed.xml'}
# - {icon: 'rss-square', link: '/rss-feed.xml'}

# Customize site text
Expand Down
25 changes: 0 additions & 25 deletions _layouts/archive.html

This file was deleted.

21 changes: 21 additions & 0 deletions _layouts/diary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: default
---

<h1>
{{ page.title }}
</h1>

<ul class="posts-container">
{% for post in site.posts %} {% unless post.next %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% endif %} {% endunless %}
<li itemscope>
<a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
<p class="post-date"><span><i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date: "%B %-d" }} - <i
class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</span></p>
</li>
{% endfor %}
</ul>
19 changes: 19 additions & 0 deletions _layouts/diary.html.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- layout: default ---

<h1>
{{ page.title }}
</h1>

<ul class="posts-container">
{% for post in site.posts %} {% unless post.next %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% endif %} {% endunless %}
<li itemscope>
<a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
<p class="post-date"><span><i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date: "%B %-d" }} - <i
class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</span></p>
</li>
{% endfor %}
</ul>
21 changes: 21 additions & 0 deletions _layouts/recorder.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: default
---

<h1>
{{ page.title }}
</h1>

<ul class="posts-container">
{% for vedio in site.vedios %} {% unless vedio.next %}
<h3>{{ vedio.date | date: '%Y' }}</h3>
{% else %} {% capture year %}{{ vedio.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ vedio.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}
<h3>{{ vedio.date | date: '%Y' }}</h3>
{% endif %} {% endunless %}
<li itemscope>
<a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
<p class="post-date"><span><i class="fa fa-calendar" aria-hidden="true"></i> {{ vedio.date | date: "%B %-d" }} - <i
class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</span></p>
</li>
{% endfor %}
</ul>
25 changes: 25 additions & 0 deletions _layouts/vedio.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---

<h1>
{{ page.title }}
</h1>
{% if page.image %}
<img src="{{ site.github.url }}/assets/img/{{ page.image }}">
{% endif %}
<article>
{{ content }}
</article>
{% if site.hide_post_date != true %}
{% include post-date.html %}
{% endif %}
{% if site.hide_post_share != true %}
{% include social-sharing.html %}
{% endif %}
{% if site.hide_related_posts != true %}
{% include related-posts.html %}
{% endif %}
{% if site.data.settings.disqus.comments %}
{% include disqus.html %}
{% endif %}
10 changes: 10 additions & 0 deletions _vedios/2013-04-04-about-the-author.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: vedio
title: "About the Author"
author: "Paul Le"
categories: journal
tags: [documentation,sample]
image: cutting.jpg
---

Hi there! I'm Paul. I’m a physics major turned programmer. Ever since I first learned how to program while taking a scientific computing for physics course, I have pursued programming as a passion, and as a career. Check out [my personal website](https://www.lenpaul.com/) for more information on my other projects (including more Jekyll themes!), as well as some of my writing.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: post
layout: recorder
title: "Welcome to Lagrange!"
author: "Paul Le"
categories: journal
Expand Down
7 changes: 0 additions & 7 deletions menu/contact.md

This file was deleted.

5 changes: 5 additions & 0 deletions menu/diary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: diary
title: 日记本
permalink: /diary
---
5 changes: 5 additions & 0 deletions menu/recorder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: recorder
title: 录像机
permalink: /recorder
---
5 changes: 0 additions & 5 deletions menu/writing.md

This file was deleted.