From a6dfb6d3353ac1f328aecb0e039ff4de1cf272bc Mon Sep 17 00:00:00 2001 From: Prokop Randacek Date: Fri, 11 Nov 2022 10:48:10 +0100 Subject: [PATCH] fix navbar wrapping --- _drafts/cpp_slow_haha.md | 19 +++++++++---------- _layouts/default.html | 14 +++++++------- content/fun.md | 2 +- deploy.sh | 2 +- 4 files changed, 18 insertions(+), 19 deletions(-) diff --git a/_drafts/cpp_slow_haha.md b/_drafts/cpp_slow_haha.md index 8928db8..a089ed4 100644 --- a/_drafts/cpp_slow_haha.md +++ b/_drafts/cpp_slow_haha.md @@ -44,13 +44,12 @@ Nobody but human labour. ## Translations units of transgress -Splitting C projects into multiple files -works in a quite primitive way. -When writting a particular file which should be part of a project, you just -*declare* functions from other source files that you fancy. The -compilation process is then split in two. First you somewhat *prepare* -individual files into a intermediate form (`.c` -> `.o`). When you got all of -these, you *link* them together. +Splitting C projects into multiple files works in a quite primitive way. When +writting a particular file which should be part of a project, you just +*declare* functions from other source files that you fancy. The compilation +process is then split in two. First you somewhat *prepare* individual files +into a intermediate form (`.c` -> `.o`). When you got all of these, you *link* +them together. ### a.c ```c @@ -90,15 +89,15 @@ begging of all files, we just *include* the header files of source files we want. ### b.c -``` +```c int get_num() { return 34; } ``` ### b.h -``` +```c int get_num(); ``` ### a.c -``` +```c #include "b.h" int main() { diff --git a/_layouts/default.html b/_layouts/default.html index 312a2b1..0f3b5d7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,13 +7,13 @@ - {%- if page.noindex == 1 -%} + {% if page.noindex == 1 %} {% endif %} - {%- if page.katex == 1 -%} + {% if page.katex == 1 %} - {%- endif -%} + {% endif %} @@ -24,10 +24,10 @@

rdck.dev

diff --git a/content/fun.md b/content/fun.md index 8fbffae..248d4ee 100644 --- a/content/fun.md +++ b/content/fun.md @@ -1,6 +1,6 @@ --- permalink: /fun -title: Fun stuff +title: Fun stuff layout: default order: 3 --- diff --git a/deploy.sh b/deploy.sh index fa42d2d..9a60e87 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,7 +7,7 @@ popd bundle exec jekyll build -rsync -avh _site/ prokop@rdck.dev:www --delete +rsync -avhc _site/ prokop@rdck.dev:www --delete ssh -t prokop@rdck.dev 'ln -sf ~/public ~/www/dl' -- 2.45.2