<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>zlxFTH&apos;s Blog</title><description>Furry Neptura</description><link>https://zlx.moe/</link><language>zh-CN</language><item><title>LaTeX Template</title><link>https://zlx.moe/posts/latex_template/</link><guid isPermaLink="true">https://zlx.moe/posts/latex_template/</guid><description>每次新开一个作业都会摸半天，我是效率低下的狗。</description><pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Assignment&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;\documentclass[12 pt]{article}
\usepackage{amsfonts, amssymb, amsmath, graphicx, physics, algpseudocode, fontspec}
\setmainfont{PingFang SC}
\usepackage{xeCJK}        % 中文支持
\setCJKmainfont{PingFang SC}

\oddsidemargin=-0.5cm                 	
\setlength{\textwidth}{6.5in}         	
\addtolength{\voffset}{-20pt}        		
\addtolength{\headsep}{25pt}           	
\setlength{\parindent}{0pt}

\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
\DontPrintSemicolon

\pagestyle{myheadings}                           
\markright{Lixi Zhang\hfill Homework 3\hfill Algorithm Design \hfill}

\newcommand{\eqn}[0]{\begin{array}{rcl}}
\newcommand{\eqnend}[0]{\end{array} }

\newcommand{\qed}[0]{$\square$}

% 插入一个图片
% \includegraphics[width=\linewidth]{1.jpeg}

\begin{document}

\end{document}
&lt;/code&gt;&lt;/pre&gt;
</content:encoded></item><item><title>博客备忘</title><link>https://zlx.moe/posts/my_blog/</link><guid isPermaLink="true">https://zlx.moe/posts/my_blog/</guid><description>换了新的域名和新的博客，为了有纪念意义一点，本文发布日期设置于 CTT 的最后一天。</description><pubDate>Fri, 06 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;从 Hexo+NexT 换到了 Astro+Fuwari，偶然间看到一个 Furry CPer 在用这个主题后立刻喜欢上了。之前在本地搭起来了，最终在 251103 成功传到了 Github Pages 上。&lt;/p&gt;
&lt;p&gt;与 Hexo 不同的是，Astro 是直接把整个博客源码全部传到 Github 仓库上，通过 Github Action 远程构建 Github Pages。我感觉这样挺好的，至少不会因为源码丢了无法再更新博客了。&lt;/p&gt;
&lt;p&gt;然后 Astro 有几个优点，一是本地修改自动刷新预览，二是不用配置 LaTeX，三是图片能和 markdown 文件放在一起，这样本地 Typora 也能看了！&lt;/p&gt;
&lt;p&gt;不过我现在不是很了解 Astro 和 Fuwari 主题的项目架构，以后慢慢摸索着魔改吧。&lt;/p&gt;
&lt;h2&gt;创建主题&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/saicaca/fuwari&quot;&gt;https://github.com/saicaca/fuwari&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;配置 Github Action&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.astro.build/zh-cn/guides/deploy/&quot;&gt;https://docs.astro.build/zh-cn/guides/deploy/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;记得在仓库里面设置 Github Action 的权限。&lt;/p&gt;
&lt;h2&gt;本地上传脚本&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;npm run build || exit
git add . || exit
git commit -m &quot;update my blog&quot; || exit
git push origin master || exit
&lt;/code&gt;&lt;/pre&gt;
</content:encoded></item></channel></rss>