You can use nbdime for diffing in a smart way, or else clear all output cells and save.
See https://nbviewer.jupyter.org/github/jhermann/jupyter-by-example/blob/master/how-tos/git.ipynb for details.
You can use nbdime for diffing in a smart way, or else clear all output cells and save.
See https://nbviewer.jupyter.org/github/jhermann/jupyter-by-example/blob/master/how-tos/git.ipynb for details.
Thanks Hamel! By the way, do you know how we can remove the āAbout meā title that sits on the about me page? Was trying to edit post.html, however it isnāt working.
@kennethwang _pages/about.md
If you delete the title in the front matter the page goes away
Is there a way to keep the page but instead remove the title that is in bold?
Yeah. Change the title
title: My title
Hmm the title is still there. It was just renamed to āMy titleā.
your browser is caching
Do a hard refresh
Hmm does not work for me, it is still there. Is there an āabout.htmlā that I can edit to remove the title manually? Could not find it in the repo.
@kennethwang please provide a link to your repo
It works for me https://hamelsmu.github.io/fp-upgrade/
@hamelsmu I know it is a bit meta, but maybe you should set up a fastpages blog on the development of fastpages. That is a devlog Iād definitely read, and it would help me keep up with the fast changes
@miko Intriguing idea! can you give me more specific ideas on things you would like to see on the blog ?
Iād be interested in following the development process and reasoning behind some of the changes/improvement. I always find it extremely useful knowing what is the thought process that brought to certain features, as it then helps me understanding how the tools work
Hi @hamelsmu, here is my repo:
For your case, you have named the title of the about me page as āSomePageā. Are you able to see the title in bold? I was hoping to remove that title.
Thanks!
Make _layouts/page_no_title.html
that delegates to page
, and set H1 to display: none
via a style node. Then use that layout in about.md
.
Thanks @jhermann that worked for me!
Code fonts look unreasonably small on my device. Itās using 12px fontsize. Iād like to customize the fastpages-style.scss
file to change the fontsize to 15px. How can I do that?
In the newest version of fastpages, you can inject your own custom CSS in _sas/minima/custom-styles.scss
You could add something like this
.input_area pre, .input_area div {
font-size: 120%;
}
Hope that helps!
Hi, Iām trying to enable google analytics. I see this script on the header (iāve removed my id for obvious reasons). Is GA disabled? If so why?
window['ga-disable-UA-xxx-1'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-xx-1');
Itās not disabled. See How to track page views in fastpages
I tried using fastpages for the very first time today, and wow!! It was very easy to setup and so nice to have CI/CD setup right out of the box. Thank you so much for developing this, @hamelsmu!
I saw in a Github issue to investigate the interactive features and I did see that the integration with Binder was done recently. I was hoping to include a simple widget to allow user to enter an input (whether that being an upload button or text field). I converted one of my ipynb using nbinteract and have a html file, but I was not sure where I can put it so that itās accessible on the site. I am totally new to Jekyll and wondering if anybody could help me.
Thanks in advance!