Update CSS links on blog.

This commit is contained in:
Sergio Martínez Portela 2023-10-03 00:22:03 +02:00
parent 23f8fcefe5
commit b8eadc8b1e
5 changed files with 15 additions and 12 deletions

View File

@ -16,6 +16,9 @@ WATCH_AND_REBUILD=0 python3 generate.py ~/.logs/brain ../_gen/notes
rm -Rf ../_gen/blog
WATCH_AND_REBUILD=0 python3 blog.py ~/cloud/nextcloud/blog/posts/ ../_gen/blog
rm -Rf ../_gen/static
cp -Rv ../static ../_gen/static
# Upload notes
cd ../_gen
rsync -HPaz static/ --delete-after --exclude='*.html' root@codigoparallevar.com:/mnt/vols/misc/codigoparallevar/static/

View File

@ -4,9 +4,9 @@
<meta charset="utf-8">
<title>{{ title }} @ Código para llevar [blog]</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ base_path }}/css/style.css" />
<link rel="stylesheet" href="{{ base_path }}/css/light-syntax.css" />
<link rel="stylesheet" href="{{ base_path }}/css/dark-syntax.css" />
<link rel="stylesheet" href="{{ base_path }}/../static/style.css" />
<link rel="stylesheet" href="{{ base_path }}/../static/light-syntax.css" />
<link rel="stylesheet" href="{{ base_path }}/../static/dark-syntax.css" />
</head>
<body class="blog">
<div class="site-header">

View File

@ -4,9 +4,9 @@
<meta charset="utf-8">
<title>Código para llevar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/light-syntax.css" />
<link rel="stylesheet" href="../css/dark-syntax.css" />
<link rel="stylesheet" href="../../static/style.css" />
<link rel="stylesheet" href="../../static/light-syntax.css" />
<link rel="stylesheet" href="../../static/dark-syntax.css" />
</head>
<body class="blog">
<div class="site-header">

View File

@ -4,9 +4,9 @@
<meta charset="utf-8">
<title>Código para llevar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/light-syntax.css" />
<link rel="stylesheet" href="css/dark-syntax.css" />
<link rel="stylesheet" href="../static/style.css" />
<link rel="stylesheet" href="../static/light-syntax.css" />
<link rel="stylesheet" href="../static/dark-syntax.css" />
</head>
<body class="blog">
<div class="site-header">

View File

@ -4,9 +4,9 @@
<meta charset="utf-8">
<title>Código para llevar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../css/style.css" />
<link rel="stylesheet" href="../../css/light-syntax.css" />
<link rel="stylesheet" href="../../css/dark-syntax.css" />
<link rel="stylesheet" href="../../../static/style.css" />
<link rel="stylesheet" href="../../../static/light-syntax.css" />
<link rel="stylesheet" href="../../../static/dark-syntax.css" />
</head>
<body class="blog">
<div class="site-header">