Nattiden 2 лет назад
Родитель
Сommit
77c49716d6

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-/.vscode
+/.vscode
+__pycache__

+ 0 - 4
Libraries/Homepage/Luca/__LIBRARY__.yml

@@ -1,4 +0,0 @@
-name: news_homepage_luca
-fill:
-  templates:
-    - Luca

+ 0 - 0
Libraries/Homepage/Luca/100Stars.md → Libraries/Homepage/Plain/100Stars.md


+ 1 - 0
Libraries/Homepage/Plain/__LIBRARY__.yml

@@ -1,5 +1,6 @@
 name: news_homepage_plain
 fill:
   templates:
+    - Luca
     - MarkdownCard
     - Raw

+ 1 - 1
Project.yml

@@ -1,2 +1,2 @@
 version: 0.9.0
-defult_page: News
+default_page: News

+ 1 - 1
Resources/Scripts/GetLink.py

@@ -1,4 +1,4 @@
-from .Debug import LogWarning, LogInfo
+from Core.Debug import LogWarning, LogInfo
 def script(card,arg,res):
     name:str = card['version-id']
     data = res.data[f'{arg[1]}Link']

+ 3 - 1
Resources/Templates/Luca.yml

@@ -4,4 +4,6 @@ base: LucaFrame
 containers: base -> FlowDocumentViewer -> this
 fill:
   title: ${@GetMdH1}
-  line-color: {DynamicResource ColorBrush3}
+  line-color: {DynamicResource ColorBrush3}
+filter:
+  header-image-link: $HASVALUE