Skip to content

Commit

Permalink
feat: enable default theme submodule support. (halo-dev#548)
Browse files Browse the repository at this point in the history
* Remove anatole theme for submodule

* Enable submodule support

* Enable submodule support for checkouting by github action
  • Loading branch information
JohnNiang authored Feb 9, 2020
1 parent 08c579a commit 44a6c46
Show file tree
Hide file tree
Showing 73 changed files with 6 additions and 18,992 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "default-theme"]
path = src/main/resources/templates/themes/anatole
url = https://github.com/halo-dev/halo-theme-anatole
1 change: 1 addition & 0 deletions src/main/resources/templates/themes/anatole
Submodule anatole added at 6a1d8d
12 changes: 0 additions & 12 deletions src/main/resources/templates/themes/anatole/404.ftl

This file was deleted.

12 changes: 0 additions & 12 deletions src/main/resources/templates/themes/anatole/500.ftl

This file was deleted.

18 changes: 0 additions & 18 deletions src/main/resources/templates/themes/anatole/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions src/main/resources/templates/themes/anatole/archives.ftl

This file was deleted.

34 changes: 0 additions & 34 deletions src/main/resources/templates/themes/anatole/category.ftl

This file was deleted.

34 changes: 0 additions & 34 deletions src/main/resources/templates/themes/anatole/index.ftl

This file was deleted.

32 changes: 0 additions & 32 deletions src/main/resources/templates/themes/anatole/links.ftl

This file was deleted.

This file was deleted.

114 changes: 0 additions & 114 deletions src/main/resources/templates/themes/anatole/module/macro.ftl

This file was deleted.

21 changes: 0 additions & 21 deletions src/main/resources/templates/themes/anatole/module/page-top.ftl

This file was deleted.

33 changes: 0 additions & 33 deletions src/main/resources/templates/themes/anatole/module/post_entry.ftl

This file was deleted.

Loading

0 comments on commit 44a6c46

Please sign in to comment.