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

Removing the pencil icon in the articles #10

Open
pietromarchesi opened this issue Oct 25, 2017 · 9 comments
Open

Removing the pencil icon in the articles #10

pietromarchesi opened this issue Oct 25, 2017 · 9 comments

Comments

@pietromarchesi
Copy link
Contributor

How do I get rid of the pencil icon in the article pages? Cheers

@coolapso
Copy link
Collaborator

Good question @pietromarchesi I got rid if it in my blog ... but i don't exactly recall how! Need to investigate that .. however, I am with sooooo litle time for that! =/

@pietromarchesi
Copy link
Contributor Author

Haha fair enough, let me know if you end up finding out! On a computer screen I actually don't mind it too much, but when the articles are displayed on a phone screen the presence of the pencil shrinks the space available for text, which then becomes a very thin column (not so nice to read).

@coolapso
Copy link
Collaborator

Funny that now you speak on this... I got curious how did that and that is not reflecting here... Since my theme dir in my pelican blog.dir... is just a symlink to my local git folder of the blog.... Hmmmm will try to check that today xD

@coolapso
Copy link
Collaborator

I will only have access to a a way of testing at night CET time... In the meanwhile... If you gave time ... Try using the gray color!! Thats where unnoticed hack might be =p

@coolapso
Copy link
Collaborator

@pietromarchesi Nope my hack isn't there ... well .. have to find out what have I done that just affects my blog and not yours! o.O

@pietromarchesi
Copy link
Contributor Author

Haha yeah! I have also the source code with pelican configuration file available on my github, so you can see what I did there.

@coolapso
Copy link
Collaborator

@pietromarchesi good will take a look later!

@XiaofeiQian
Copy link

I removed it as following steps:
step 1
if "nice-blog/templates/article.html" has code like this:

	<div class="post-format">
		<div class="circle"><i class="icon-pencil"></i><span></span></div>
	</div>

remove it will remove the pencil icon. (ps: it`s followed by <section class="post-content">) .

step 2
modify "themes/nice-blog/static/css/style.css"
change .post-content margin
from

.post-content { margin: 0 0 0 89px }

to

.post-content { margin: 0 0 0 0px }

@coolapso
Copy link
Collaborator

coolapso commented Nov 4, 2017

@HatuneMiku thank you a lot! think was that that I have done!! However .. what makes me curious ... is why it hasn't affected the whole project since I have been using my local repo for everything ... I have a symlink from pelican straight to it ... so whenever I make changes ... it will reflect my blog ... the repo and I can push it straight away! =S weird stuff!

should really look into it when I have some more time ... and make it a config option! if you want and have the time feel free to do it I will merge! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants