mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 14:34:44 +00:00 
			
		
		
		
	
		
			
	
	
		
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						||
| 
								 | 
							
								<?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?>
							 | 
						||
| 
								 | 
							
								<rss version="2.0">
							 | 
						||
| 
								 | 
							
									<channel>
							 | 
						||
| 
								 | 
							
										<title>{{ site.name | xml_escape }}</title>
							 | 
						||
| 
								 | 
							
										<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>		
							 | 
						||
| 
								 | 
							
										<link>{{ site.url }}</link>
							 | 
						||
| 
								 | 
							
										<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
							 | 
						||
| 
								 | 
							
								        <language>{{ site.lang | default: "zh-CN" }}</language>
							 | 
						||
| 
								 | 
							
										{% for post in site.posts limit:10 %}
							 | 
						||
| 
								 | 
							
											<item>
							 | 
						||
| 
								 | 
							
												<title>{{ post.title | xml_escape }}</title>
							 | 
						||
| 
								 | 
							
												{% if post.excerpt %}
							 | 
						||
| 
								 | 
							
													<description>{{ post.excerpt | xml_escape }}</description>
							 | 
						||
| 
								 | 
							
												{% else %}
							 | 
						||
| 
								 | 
							
													<description>{{ post.content | xml_escape }}</description>
							 | 
						||
| 
								 | 
							
												{% endif %}
							 | 
						||
| 
								 | 
							
												<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
							 | 
						||
| 
								 | 
							
												<link>{{ post.url | absolute_url }}</link>
							 | 
						||
| 
								 | 
							
								                {% for tag in post.tags %}
							 | 
						||
| 
								 | 
							
								                    <category>{{ tag | xml_escape }}</category>
							 | 
						||
| 
								 | 
							
								                {% endfor %}
							 | 
						||
| 
								 | 
							
												<guid>{{ post.url | absolute_url }}</guid>
							 | 
						||
| 
								 | 
							
											</item>
							 | 
						||
| 
								 | 
							
										{% endfor %}
							 | 
						||
| 
								 | 
							
									</channel>
							 | 
						||
| 
								 | 
							
								</rss>
							 |