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

1.2.6 #121

Merged
merged 45 commits into from
Jan 13, 2017
Merged

1.2.6 #121

merged 45 commits into from
Jan 13, 2017

Conversation

iblh
Copy link
Owner

@iblh iblh commented Jan 12, 2017

New features

Changes

Bugs fixed

Viosey and others added 30 commits January 5, 2017 14:32
…104)

* Add bilibili, changed config
* Update footer-left.ejs
* Improve the way of openning a new windows from SNS
- Change duoshuo_thread_key -> duoshuo_thread_key_type
Edit blog_info.ejs to avoid href is null instead of update _config.yml
##Removed
- no-wrap style of `.markdown-Github code`
Pr Canary from viosey branch
## Changes
- Markdown Github style: figure margin-right: 0
fixed view_window to _blank
- Patch for i18n
fix(lang): minor improvements for french
fix(lang): minor improvements for english
refactor(sns): simplify conditional display
@iblh iblh added this to the 1.2.6 milestone Jan 12, 2017
Copy link
Collaborator

@pidupuis pidupuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for minor details, this is ok for me :)

@@ -6,7 +6,7 @@

<!-- LOGO -->
<div class="something-else-logo mdl-color--white mdl-color-text--grey-600">
<a href="<%= theme.url.logo %>">
<a href="<% if(theme.url.logo !=null) { %> <%= theme.url.logo %> <% } else { %> # <% } %>">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have written:

<a href="<%= theme.url.logo || '#' %>">

which is prettier, covers every falsy value and uses strict equality

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -13,7 +13,7 @@
<div id="comments">
<!-- 多说评论框 start -->
<div class="ds-thread"
data-thread-key="<% if(theme.comment.duoshuo_thread_key == "id"){ %><%= page.id %><% } else { %><%= page.path %><% } %>"
data-thread-key="<% if(theme.comment.duoshuo_thread_key_type == "id"){ %><%= page.id %><% } else { %><%= page.path %><% } %>"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have written:

data-thread-key="<% theme.comment.duoshuo_thread_key_type === 'id' ? page.id : page.path %>"

which is less verbose and uses strict equality

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -425,7 +426,7 @@ a {
border-radius: 3px;
}
#post-content.markdown-Github code {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the block since it is empty now

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@cubesky cubesky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think pidupuis changes is better

Viosey added 5 commits January 13, 2017 14:40
`data-thread-key="<% theme.comment.duoshuo_thread_key_type === 'id' ? page.id : page.path %>"`
instead of 
`data-thread-key="<% if(theme.comment.duoshuo_thread_key_type == "id"){%><%= page.id %><% } else { %><%= page.path %><% } %>" `
feat(pages): allow page icons in sidebar
refactor(url): improve logo url decision making
refactor(duoshuo): improve thread key statement
@iblh iblh requested a review from cubesky January 13, 2017 09:36
Copy link
Collaborator

@neoFelhz neoFelhz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • There a bug with footer sns icon.
  • The version in head.ejs mismatch.

@pidupuis
Copy link
Collaborator

Footer icon bug fixed

@iblh iblh requested a review from neoFelhz January 13, 2017 13:35
@iblh iblh merged commit 1df73c4 into master Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants